#1F7607

A color in the Green family

#1f7607 is a color in the Green family: RGB(31, 118, 7), HSL(107°, 89%, 25%), CMYK(74%, 0%, 94%, 54%). Closest named color: green. Contrast is 5.75:1 on white and 3.65:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#1f7607
RGBrgb(31 118 7)
RGB (legacy)rgb(31, 118, 7)
RGB %rgb(12% 46% 3%)
HSLhsl(107 89% 25%)
HSV / HSBhsv(107, 94%, 46%)
HWBhwb(107 3% 54%)
CMYKcmyk(74%, 0%, 94%, 54%)
CIELAB (D50)lab(43.22 -40.83 44.91)
LCHlch(43.22 60.7 132.28)
OKLaboklab(0.4954 -0.1221 0.1002)
OKLCHoklch(0.4954 0.1579 140.65)
Decimal2061831

Properties

Color ToneGreen
Closest named colorgreen ΔE 3.1
Closest web-safe color#336600
Hue107°
Saturation (HSL / HSV)89% / 94%
Lightness (HSL)25%
Brightness or Value (HSV)46%
Luminance (Rec.601 / Rec.709)31% / 36%
Relative luminance (WCAG)0.1326
Red / Green / Blue31 / 118 / 7

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.75:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.65:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 78.3 / -23.5 · As background with white / black text: Lc -83.5 / 25.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #1f7607;
  --color-brand-oklch: oklch(49.54% 0.1579 140.65);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(31 118 7 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1f7607] text-[#1f7607] border-[#1f7607]">