#1F4C19

A color in the Green family

#1f4c19 is a color in the Green family: RGB(31, 76, 25), HSL(113°, 50%, 20%), CMYK(59%, 0%, 67%, 70%). Closest named color: darkgreen. Contrast is 9.97:1 on white and 2.11:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#1f4c19
RGBrgb(31 76 25)
RGB (legacy)rgb(31, 76, 25)
RGB %rgb(12% 30% 10%)
HSLhsl(113 50% 20%)
HSV / HSBhsv(113, 67%, 30%)
HWBhwb(113 10% 70%)
CMYKcmyk(59%, 0%, 67%, 70%)
CIELAB (D50)lab(28.23 -24.8 24.69)
LCHlch(28.23 34.99 135.12)
OKLaboklab(0.3719 -0.0737 0.0588)
OKLCHoklch(0.3719 0.0943 141.38)
Decimal2051097

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 8.4
Closest web-safe color#333300
Hue113°
Saturation (HSL / HSV)50% / 67%
Lightness (HSL)20%
Brightness or Value (HSV)30%
Luminance (Rec.601 / Rec.709)22% / 25%
Relative luminance (WCAG)0.0553
Red / Green / Blue31 / 76 / 25

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 92.9 / -9.6 · As background with white / black text: Lc -97.1 / 11

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: #1f4c19;
  --color-brand-oklch: oklch(37.19% 0.0943 141.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(31 76 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1f4c19] text-[#1f4c19] border-[#1f4c19]">