#254208#254208

#254208 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.089 H 133.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#254208
RGBrgb(37, 66, 8)
HSLhsl(90, 78%, 15%)
HSVhsv(90, 88%, 26%)
CMYKcmyk(43.9%, 0%, 87.9%, 74.1%)
CIE-LABlab(24.66, -21.68, 29.42)
CIE-LCHlch(24.66, 36.54, 126.38°)
OKLaboklab(34.33% -0.0611 0.0652)
OKLCHoklch(34.33% 0.089 133.1)
XYZxyz(2.7550, 4.3071, 0.9159)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254208 #250842
analogous
#424208 #254208 #084208
triadic
#254208 #082542 #420825
tetradic
#254208 #084242 #250842 #420808
square
#254208 #084242 #250842 #420808
split-complementary
#254208 #080842 #420842
monochromatic
#0F1B03 #0F1B03 #254208 #44790F #62AF15

Accessibility & contrast

On white

11.28
#254208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#254208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254208
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254208#FFFFFF#000000##FFFFFF
##2542081.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#413A0E
Tritanopia (blue-blind)
#253F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #254208;
/* rgb */ color: rgb(37, 66, 8);
/* oklch */ color: oklch(34.3% 0.089 133.1);
Tailwind
colors: {
  custom: {
    50: '#63764d',
    500: '#254208',
    950: '#000000',
  },
}
SCSS
$custom: #254208;
$custom-light: #63764d;
$custom-dark: #000000;
JSON
{
  "hex": "#254208",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 90,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34328,
    "c": 0.08936,
    "h": 133.1
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#254208
secondary
#532580
accent
#33F594
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #254208

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

Preview Lab → · Contrast checker → · Palette generator →

#254208 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva