#254C19#254C19

#254C19 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.5% C 0.091 H 139.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#254C19
RGBrgb(37, 76, 25)
HSLhsl(106, 50%, 20%)
HSVhsv(106, 67%, 30%)
CMYKcmyk(51.3%, 0%, 67.1%, 70.2%)
CIE-LABlab(28.46, -24.95, 25.52)
CIE-LCHlch(28.46, 35.69, 134.36°)
OKLaboklab(37.49% -0.0686 0.0596)
OKLCHoklch(37.49% 0.091 139)
XYZxyz(3.5227, 5.6321, 1.8210)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C19 #40194C
analogous
#3F4C19 #254C19 #194C26
triadic
#254C19 #19254C #4C1925
tetradic
#254C19 #193F4C #40194C #4C2619
square
#254C19 #193F4C #40194C #4C2619
split-complementary
#254C19 #26194C #4C193F
monochromatic
#0B1708 #0F1E0A #254C19 #3B7A28 #52A837

Accessibility & contrast

On white

9.88
#254C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#254C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C19
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C19#FFFFFF#000000##FFFFFF
##254C191.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4513
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#224941
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #254c19;
/* rgb */ color: rgb(37, 76, 25);
/* oklch */ color: oklch(37.5% 0.091 139.0);
Tailwind
colors: {
  custom: {
    50: '#637e58',
    500: '#254c19',
    950: '#000000',
  },
}
SCSS
$custom: #254c19;
$custom-light: #637e58;
$custom-dark: #000000;
JSON
{
  "hex": "#254c19",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 25
  },
  "hsl": {
    "h": 105.882,
    "s": 50.495,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37491,
    "c": 0.09086,
    "h": 139
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#254C19
secondary
#723E82
accent
#4EDAB9
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #254C19

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#254C19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva