#252C08#252C08

#252C08 is a dark, muted yellow-green. Relative luminance 0.022; OKLCH L 27.8% C 0.056 H 119.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#252C08
RGBrgb(37, 44, 8)
HSLhsl(72, 69%, 10%)
HSVhsv(72, 82%, 17%)
CMYKcmyk(15.9%, 0%, 81.8%, 82.7%)
CIE-LABlab(16.56, -9.41, 20.45)
CIE-LCHlch(16.56, 22.51, 114.70°)
OKLaboklab(27.75% -0.0276 0.0485)
OKLCHoklch(27.75% 0.056 119.6)
XYZxyz(1.7075, 2.2122, 0.5667)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C08 #0F082C
analogous
#2C2108 #252C08 #132C08
triadic
#252C08 #08252C #2C0825
tetradic
#252C08 #082C21 #0F082C #2C0813
square
#252C08 #082C21 #0F082C #2C0813
split-complementary
#252C08 #08132C #21082C
monochromatic
#161A05 #161A05 #252C08 #516011 #7C941B

Accessibility & contrast

On white

14.56
#252C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#252C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C08
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C08#FFFFFF#000000##FFFFFF
##252C081.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2904
Deuteranopia (green-blind)
#2F290B
Tritanopia (blue-blind)
#282925
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #252c08;
/* rgb */ color: rgb(37, 44, 8);
/* oklch */ color: oklch(27.8% 0.056 119.6);
Tailwind
colors: {
  custom: {
    50: '#60654a',
    500: '#252c08',
    950: '#000000',
  },
}
SCSS
$custom: #252c08;
$custom-light: #60654a;
$custom-dark: #000000;
JSON
{
  "hex": "#252c08",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 71.667,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2775,
    "c": 0.05583,
    "h": 119.6
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#252C08
secondary
#33256B
accent
#3CEC5E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #252C08

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

Preview Lab → · Contrast checker → · Palette generator →

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