#252D08#252D08

#252D08 is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.057 H 120.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#252D08
RGBrgb(37, 45, 8)
HSLhsl(73, 70%, 10%)
HSVhsv(73, 82%, 18%)
CMYKcmyk(17.8%, 0%, 82.2%, 82.4%)
CIE-LABlab(16.93, -10.03, 20.90)
CIE-LCHlch(16.93, 23.18, 115.63°)
OKLaboklab(28.04% -0.0293 0.0493)
OKLCHoklch(28.04% 0.057 120.7)
XYZxyz(1.7452, 2.2876, 0.5793)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D08 #10082D
analogous
#2D2208 #252D08 #122D08
triadic
#252D08 #08252D #2D0825
tetradic
#252D08 #082D22 #10082D #2D0812
square
#252D08 #082D22 #10082D #2D0812
split-complementary
#252D08 #08122D #22082D
monochromatic
#151A05 #151A05 #252D08 #506111 #7A951A

Accessibility & contrast

On white

14.41
#252D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#252D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D08
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D08#FFFFFF#000000##FFFFFF
##252D081.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A04
Deuteranopia (green-blind)
#2F2A0B
Tritanopia (blue-blind)
#282A26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #252d08;
/* rgb */ color: rgb(37, 45, 8);
/* oklch */ color: oklch(28.0% 0.057 120.7);
Tailwind
colors: {
  custom: {
    50: '#60654b',
    500: '#252d08',
    950: '#000000',
  },
}
SCSS
$custom: #252d08;
$custom-light: #60654b;
$custom-dark: #000000;
JSON
{
  "hex": "#252d08",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 72.973,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28044,
    "c": 0.05738,
    "h": 120.7
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#252D08
secondary
#34256C
accent
#3BED62
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #252D08

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

Preview Lab → · Contrast checker → · Palette generator →

#252D08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva