#254008#254008

#254008 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.7% C 0.086 H 132.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#254008
RGBrgb(37, 64, 8)
HSLhsl(89, 78%, 14%)
HSVhsv(89, 88%, 25%)
CMYKcmyk(42.2%, 0%, 87.5%, 74.9%)
CIE-LABlab(23.93, -20.67, 28.70)
CIE-LCHlch(23.93, 35.37, 125.76°)
OKLaboklab(33.73% -0.0584 0.0638)
OKLCHoklch(33.73% 0.086 132.5)
XYZxyz(2.6401, 4.0775, 0.8776)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254008 #230840
analogous
#403F08 #254008 #094008
triadic
#254008 #082540 #400825
tetradic
#254008 #08403F #230840 #400809
square
#254008 #08403F #230840 #400809
split-complementary
#254008 #080940 #3F0840
monochromatic
#101B03 #101B03 #254008 #44760F #64AD16

Accessibility & contrast

On white

11.57
#254008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#254008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254008
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254008#FFFFFF#000000##FFFFFF
##2540081.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#253D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #254008;
/* rgb */ color: rgb(37, 64, 8);
/* oklch */ color: oklch(33.7% 0.086 132.5);
Tailwind
colors: {
  custom: {
    50: '#63754c',
    500: '#254008',
    950: '#000000',
  },
}
SCSS
$custom: #254008;
$custom-light: #63754c;
$custom-dark: #000000;
JSON
{
  "hex": "#254008",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 8
  },
  "hsl": {
    "h": 88.929,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33726,
    "c": 0.08644,
    "h": 132.5
  },
  "luminance": 0.04078
}

Semantic roles & 50–950 ramp

primary
#254008
secondary
#50257E
accent
#34F490
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #254008

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

Preview Lab → · Contrast checker → · Palette generator →

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