#254A0D#254A0D

#254A0D is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.098 H 135.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#254A0D
RGBrgb(37, 74, 13)
HSLhsl(96, 70%, 17%)
HSVhsv(96, 82%, 29%)
CMYKcmyk(50%, 0%, 82.4%, 71%)
CIE-LABlab(27.63, -25.19, 30.29)
CIE-LCHlch(27.63, 39.40, 129.75°)
OKLaboklab(36.77% -0.0702 0.0679)
OKLCHoklch(36.77% 0.098 135.9)
XYZxyz(3.2843, 5.3197, 1.2344)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A0D #320D4A
analogous
#444A0D #254A0D #0D4A13
triadic
#254A0D #0D254A #4A0D25
tetradic
#254A0D #0D444A #320D4A #4A130D
square
#254A0D #0D444A #320D4A #4A130D
split-complementary
#254A0D #130D4A #4A0D44
monochromatic
#0D1A05 #0D1A05 #254A0D #3F7E16 #59B21F

Accessibility & contrast

On white

10.17
#254A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254A0D
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A0D#FFFFFF#000000##FFFFFF
##254A0D1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254a0d;
/* rgb */ color: rgb(37, 74, 13);
/* oklch */ color: oklch(36.8% 0.098 135.9);
Tailwind
colors: {
  custom: {
    50: '#647d51',
    500: '#254a0d',
    950: '#000000',
  },
}
SCSS
$custom: #254a0d;
$custom-light: #647d51;
$custom-dark: #000000;
JSON
{
  "hex": "#254a0d",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 96.393,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36769,
    "c": 0.09765,
    "h": 135.9
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#254A0D
secondary
#632E85
accent
#3BEDA7
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #254A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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