#254B0E#254B0E

#254B0E is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.1% C 0.098 H 136.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#254B0E
RGBrgb(37, 75, 14)
HSLhsl(97, 69%, 17%)
HSVhsv(97, 81%, 29%)
CMYKcmyk(50.7%, 0%, 81.3%, 70.6%)
CIE-LABlab(28.00, -25.58, 30.25)
CIE-LCHlch(28.00, 39.61, 130.22°)
OKLaboklab(37.08% -0.0711 0.068)
OKLCHoklch(37.08% 0.098 136.3)
XYZxyz(3.3582, 5.4570, 1.2917)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B0E #340E4B
analogous
#444B0E #254B0E #0E4B16
triadic
#254B0E #0E254B #4B0E25
tetradic
#254B0E #0E444B #340E4B #4B160E
square
#254B0E #0E444B #340E4B #4B160E
split-complementary
#254B0E #160E4B #4B0E44
monochromatic
#0D1A05 #0D1A05 #254B0E #3E7F18 #58B221

Accessibility & contrast

On white

10.04
#254B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#254B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B0E
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B0E#FFFFFF#000000##FFFFFF
##254B0E1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4404
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#23483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254b0e;
/* rgb */ color: rgb(37, 75, 14);
/* oklch */ color: oklch(37.1% 0.098 136.3);
Tailwind
colors: {
  custom: {
    50: '#647d51',
    500: '#254b0e',
    950: '#000000',
  },
}
SCSS
$custom: #254b0e;
$custom-light: #647d51;
$custom-dark: #000000;
JSON
{
  "hex": "#254b0e",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 97.377,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37076,
    "c": 0.09841,
    "h": 136.3
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

primary
#254B0E
secondary
#652F86
accent
#3CEBA9
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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