#254D0D#254D0D

#254D0D is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.102 H 136.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#254D0D
RGBrgb(37, 77, 13)
HSLhsl(98, 71%, 18%)
HSVhsv(98, 83%, 30%)
CMYKcmyk(51.9%, 0%, 83.1%, 69.8%)
CIE-LABlab(28.72, -26.58, 31.36)
CIE-LCHlch(28.72, 41.11, 130.29°)
OKLaboklab(37.67% -0.0739 0.0701)
OKLCHoklch(37.67% 0.102 136.5)
XYZxyz(3.4894, 5.7299, 1.3028)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D0D #350D4D
analogous
#454D0D #254D0D #0D4D15
triadic
#254D0D #0D254D #4D0D25
tetradic
#254D0D #0D454D #350D4D #4D150D
square
#254D0D #0D454D #350D4D #4D150D
split-complementary
#254D0D #150D4D #4D0D45
monochromatic
#0D1A04 #0D1A04 #254D0D #3E8116 #57B61F

Accessibility & contrast

On white

9.79
#254D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#254D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254D0D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D0D#FFFFFF#000000##FFFFFF
##254D0D1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504602
Deuteranopia (green-blind)
#4B4214
Tritanopia (blue-blind)
#234A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254d0d;
/* rgb */ color: rgb(37, 77, 13);
/* oklch */ color: oklch(37.7% 0.102 136.5);
Tailwind
colors: {
  custom: {
    50: '#647f51',
    500: '#254d0d',
    950: '#000000',
  },
}
SCSS
$custom: #254d0d;
$custom-light: #647f51;
$custom-dark: #000000;
JSON
{
  "hex": "#254d0d",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 97.5,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37667,
    "c": 0.10191,
    "h": 136.5
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#254D0D
secondary
#662E88
accent
#3AEEAA
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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