#254A09#254A09

#254A09 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.7% C 0.100 H 135.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#254A09
RGBrgb(37, 74, 9)
HSLhsl(94, 78%, 16%)
HSVhsv(94, 88%, 29%)
CMYKcmyk(50%, 0%, 87.8%, 71%)
CIE-LABlab(27.60, -25.47, 31.79)
CIE-LCHlch(27.60, 40.73, 128.70°)
OKLaboklab(36.74% -0.0712 0.0703)
OKLCHoklch(36.74% 0.1 135.4)
XYZxyz(3.2610, 5.3104, 1.1116)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A09 #2E094A
analogous
#464A09 #254A09 #094A0E
triadic
#254A09 #09254A #4A0925
tetradic
#254A09 #09464A #2E094A #4A0E09
square
#254A09 #09464A #2E094A #4A0E09
split-complementary
#254A09 #0E094A #4A0946
monochromatic
#0E1B03 #0E1B03 #254A09 #408110 #5CB716

Accessibility & contrast

On white

10.18
#254A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#254A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A09
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A09#FFFFFF#000000##FFFFFF
##254A091.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#484010
Tritanopia (blue-blind)
#24473E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #254a09;
/* rgb */ color: rgb(37, 74, 9);
/* oklch */ color: oklch(36.7% 0.100 135.4);
Tailwind
colors: {
  custom: {
    50: '#647d4f',
    500: '#254a09',
    950: '#000000',
  },
}
SCSS
$custom: #254a09;
$custom-light: #647d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#254a09",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 9
  },
  "hsl": {
    "h": 94.154,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3674,
    "c": 0.1001,
    "h": 135.4
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#254A09
secondary
#5E2787
accent
#33F5A1
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #254A09

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

Preview Lab → · Contrast checker → · Palette generator →

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