#254B0B#254B0B

#254B0B is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.100 H 135.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#254B0B
RGBrgb(37, 75, 11)
HSLhsl(96, 74%, 17%)
HSVhsv(96, 85%, 29%)
CMYKcmyk(50.7%, 0%, 85.3%, 70.6%)
CIE-LABlab(27.98, -25.80, 31.41)
CIE-LCHlch(27.98, 40.65, 129.40°)
OKLaboklab(37.05% -0.072 0.0699)
OKLCHoklch(37.05% 0.1 135.8)
XYZxyz(3.3393, 5.4494, 1.1924)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B0B #310B4B
analogous
#454B0B #254B0B #0B4B11
triadic
#254B0B #0B254B #4B0B25
tetradic
#254B0B #0B454B #310B4B #4B110B
square
#254B0B #0B454B #310B4B #4B110B
split-complementary
#254B0B #110B4B #4B0B45
monochromatic
#0D1B04 #0D1B04 #254B0B #3F8013 #5AB61B

Accessibility & contrast

On white

10.05
#254B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254B0B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B0B#FFFFFF#000000##FFFFFF
##254B0B1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#494112
Tritanopia (blue-blind)
#24483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254b0b;
/* rgb */ color: rgb(37, 75, 11);
/* oklch */ color: oklch(37.1% 0.100 135.8);
Tailwind
colors: {
  custom: {
    50: '#647d50',
    500: '#254b0b',
    950: '#000000',
  },
}
SCSS
$custom: #254b0b;
$custom-light: #647d50;
$custom-dark: #000000;
JSON
{
  "hex": "#254b0b",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 11
  },
  "hsl": {
    "h": 95.625,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37053,
    "c": 0.10033,
    "h": 135.8
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#254B0B
secondary
#622B87
accent
#37F1A5
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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