#254A08#254A08

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

Color values

HEX#254A08
RGBrgb(37, 74, 8)
HSLhsl(94, 80%, 16%)
HSVhsv(94, 89%, 29%)
CMYKcmyk(50%, 0%, 89.2%, 71%)
CIE-LABlab(27.60, -25.53, 32.16)
CIE-LCHlch(27.60, 41.06, 128.45°)
OKLaboklab(36.73% -0.0715 0.0709)
OKLCHoklch(36.73% 0.101 135.2)
XYZxyz(3.2555, 5.3082, 1.0827)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A08 #2D084A
analogous
#464A08 #254A08 #084A0C
triadic
#254A08 #08254A #4A0825
tetradic
#254A08 #08464A #2D084A #4A0C08
square
#254A08 #08464A #2D084A #4A0C08
split-complementary
#254A08 #0C084A #4A0846
monochromatic
#0E1C03 #0E1C03 #254A08 #41810E #5CB814

Accessibility & contrast

On white

10.19
#254A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254A08
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A08#FFFFFF#000000##FFFFFF
##254A081.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.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: #254a08;
/* rgb */ color: rgb(37, 74, 8);
/* oklch */ color: oklch(36.7% 0.101 135.2);
Tailwind
colors: {
  custom: {
    50: '#647d4e',
    500: '#254a08',
    950: '#000000',
  },
}
SCSS
$custom: #254a08;
$custom-light: #647d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#254a08",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 8
  },
  "hsl": {
    "h": 93.636,
    "s": 80.488,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36733,
    "c": 0.10069,
    "h": 135.2
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#254A08
secondary
#5D2688
accent
#31F7A0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #254A08

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

Preview Lab → · Contrast checker → · Palette generator →

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