#254C19

A color in the Green family

#254c19 is a color in the Green family: RGB(37, 76, 25), HSL(106°, 50%, 20%), CMYK(51%, 0%, 67%, 70%). Closest named color: darkslategray. Contrast is 9.88:1 on white and 2.13:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#254c19
RGBrgb(37 76 25)
RGB (legacy)rgb(37, 76, 25)
RGB %rgb(15% 30% 10%)
HSLhsl(106 50% 20%)
HSV / HSBhsv(106, 67%, 30%)
HWBhwb(106 10% 70%)
CMYKcmyk(51%, 0%, 67%, 70%)
CIELAB (D50)lab(28.52 -22.79 25.1)
LCHlch(28.52 33.9 132.24)
OKLaboklab(0.3749 -0.0686 0.0596)
OKLCHoklch(0.3749 0.0909 139.01)
Decimal2444313

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 8.2
Closest web-safe color#333300
Hue106°
Saturation (HSL / HSV)50% / 67%
Lightness (HSL)20%
Brightness or Value (HSV)30%
Luminance (Rec.601 / Rec.709)23% / 25%
Relative luminance (WCAG)0.0563
Red / Green / Blue37 / 76 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.88:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.13: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.7 / -9.7 · As background with white / black text: Lc -96.9 / 11.2

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: #254c19;
  --color-brand-oklch: oklch(37.49% 0.0909 139.01);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(37 76 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#254c19] text-[#254c19] border-[#254c19]">