#254A0F#254A0F

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

Color values

HEX#254A0F
RGBrgb(37, 74, 15)
HSLhsl(98, 66%, 17%)
HSVhsv(98, 80%, 29%)
CMYKcmyk(50%, 0%, 79.7%, 71%)
CIE-LABlab(27.64, -25.03, 29.46)
CIE-LCHlch(27.64, 38.66, 130.35°)
OKLaboklab(36.79% -0.0696 0.0665)
OKLCHoklch(36.79% 0.096 136.3)
XYZxyz(3.2979, 5.3252, 1.3059)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A0F #340F4A
analogous
#434A0F #254A0F #0F4A16
triadic
#254A0F #0F254A #4A0F25
tetradic
#254A0F #0F434A #340F4A #4A160F
square
#254A0F #0F434A #340F4A #4A160F
split-complementary
#254A0F #160F4A #4A0F43
monochromatic
#0D1905 #0D1905 #254A0F #3E7D19 #58B024

Accessibility & contrast

On white

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

On black

2.07
#254A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##254A0F#FFFFFF#000000##FFFFFF
##254A0F1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4305
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#23473E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #254a0f;
/* rgb */ color: rgb(37, 74, 15);
/* oklch */ color: oklch(36.8% 0.096 136.3);
Tailwind
colors: {
  custom: {
    50: '#647d52',
    500: '#254a0f',
    950: '#000000',
  },
}
SCSS
$custom: #254a0f;
$custom-light: #647d52;
$custom-dark: #000000;
JSON
{
  "hex": "#254a0f",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 97.627,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36786,
    "c": 0.09626,
    "h": 136.3
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#254A0F
secondary
#653084
accent
#3FE9AA
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #254A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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