#254E0A#254E0A

#254E0A is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 37.9% C 0.105 H 136.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#254E0A
RGBrgb(37, 78, 10)
HSLhsl(96, 77%, 17%)
HSVhsv(96, 87%, 31%)
CMYKcmyk(52.6%, 0%, 87.2%, 69.4%)
CIE-LABlab(29.07, -27.24, 32.80)
CIE-LCHlch(29.07, 42.63, 129.71°)
OKLaboklab(37.95% -0.0759 0.0726)
OKLCHoklch(37.95% 0.105 136.3)
XYZxyz(3.5420, 5.8638, 1.2323)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E0A #330A4E
analogous
#474E0A #254E0A #0A4E11
triadic
#254E0A #0A254E #4E0A25
tetradic
#254E0A #0A474E #330A4E #4E110A
square
#254E0A #0A474E #330A4E #4E110A
split-complementary
#254E0A #110A4E #4E0A47
monochromatic
#0D1B03 #0D1B03 #254E0A #3F8411 #58BA18

Accessibility & contrast

On white

9.66
#254E0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#254E0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E0A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E0A#FFFFFF#000000##FFFFFF
##254E0A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#4C4312
Tritanopia (blue-blind)
#234B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254e0a;
/* rgb */ color: rgb(37, 78, 10);
/* oklch */ color: oklch(37.9% 0.105 136.3);
Tailwind
colors: {
  custom: {
    50: '#658050',
    500: '#254e0a',
    950: '#000000',
  },
}
SCSS
$custom: #254e0a;
$custom-light: #658050;
$custom-dark: #000000;
JSON
{
  "hex": "#254e0a",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 10
  },
  "hsl": {
    "h": 96.176,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37945,
    "c": 0.10507,
    "h": 136.3
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#254E0A
secondary
#64298B
accent
#34F4A8
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254E0A

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

Preview Lab → · Contrast checker → · Palette generator →

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