#254A0E#254A0E

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

Color values

HEX#254A0E
RGBrgb(37, 74, 14)
HSLhsl(97, 68%, 17%)
HSVhsv(97, 81%, 29%)
CMYKcmyk(50%, 0%, 81.1%, 71%)
CIE-LABlab(27.63, -25.11, 29.88)
CIE-LCHlch(27.63, 39.03, 130.04°)
OKLaboklab(36.78% -0.0699 0.0672)
OKLCHoklch(36.78% 0.097 136.1)
XYZxyz(3.2909, 5.3224, 1.2693)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A0E #330E4A
analogous
#434A0E #254A0E #0E4A15
triadic
#254A0E #0E254A #4A0E25
tetradic
#254A0E #0E434A #330E4A #4A150E
square
#254A0E #0E434A #330E4A #4A150E
split-complementary
#254A0E #150E4A #4A0E43
monochromatic
#0D1A05 #0D1A05 #254A0E #3F7D18 #58B121

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254A0E#FFFFFF#000000##FFFFFF
##254A0E1.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)
#4D4304
Deuteranopia (green-blind)
#484014
Tritanopia (blue-blind)
#23473E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #254a0e;
/* rgb */ color: rgb(37, 74, 14);
/* oklch */ color: oklch(36.8% 0.097 136.1);
Tailwind
colors: {
  custom: {
    50: '#647d51',
    500: '#254a0e',
    950: '#000000',
  },
}
SCSS
$custom: #254a0e;
$custom-light: #647d51;
$custom-dark: #000000;
JSON
{
  "hex": "#254a0e",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 97,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36777,
    "c": 0.09697,
    "h": 136.1
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#254A0E
secondary
#642F85
accent
#3DEBA8
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #254A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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