#254A0B#254A0B

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

Color values

HEX#254A0B
RGBrgb(37, 74, 11)
HSLhsl(95, 74%, 17%)
HSVhsv(95, 85%, 29%)
CMYKcmyk(50%, 0%, 85.1%, 71%)
CIE-LABlab(27.61, -25.33, 31.06)
CIE-LCHlch(27.61, 40.08, 129.20°)
OKLaboklab(36.75% -0.0707 0.0692)
OKLCHoklch(36.75% 0.099 135.6)
XYZxyz(3.2721, 5.3148, 1.1700)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A0B #300B4A
analogous
#454A0B #254A0B #0B4A11
triadic
#254A0B #0B254A #4A0B25
tetradic
#254A0B #0B454A #300B4A #4A110B
square
#254A0B #0B454A #300B4A #4A110B
split-complementary
#254A0B #110B4A #4A0B45
monochromatic
#0D1B04 #0D1B04 #254A0B #407F13 #5AB51B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254A0B#FFFFFF#000000##FFFFFF
##254A0B1.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)
#4D4301
Deuteranopia (green-blind)
#484012
Tritanopia (blue-blind)
#24473E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #254a0b;
/* rgb */ color: rgb(37, 74, 11);
/* oklch */ color: oklch(36.8% 0.099 135.6);
Tailwind
colors: {
  custom: {
    50: '#647d50',
    500: '#254a0b',
    950: '#000000',
  },
}
SCSS
$custom: #254a0b;
$custom-light: #647d50;
$custom-dark: #000000;
JSON
{
  "hex": "#254a0b",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 95.238,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36753,
    "c": 0.09892,
    "h": 135.6
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#254A0B
secondary
#602B86
accent
#37F1A4
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #254A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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