#252B08#252B08

#252B08 is a dark, muted yellow-green. Relative luminance 0.021; OKLCH L 27.5% C 0.054 H 118.5°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#252B08
RGBrgb(37, 43, 8)
HSLhsl(70, 69%, 10%)
HSVhsv(70, 81%, 17%)
CMYKcmyk(14%, 0%, 81.4%, 83.1%)
CIE-LABlab(16.20, -8.78, 20.00)
CIE-LCHlch(16.20, 21.84, 113.71°)
OKLaboklab(27.46% -0.0259 0.0477)
OKLCHoklch(27.46% 0.054 118.5)
XYZxyz(1.6707, 2.1386, 0.5545)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B08 #0E082B
analogous
#2B2008 #252B08 #132B08
triadic
#252B08 #08252B #2B0825
tetradic
#252B08 #082B20 #0E082B #2B0813
square
#252B08 #082B20 #0E082B #2B0813
split-complementary
#252B08 #08132B #20082B
monochromatic
#161A05 #161A05 #252B08 #515F12 #7E921B

Accessibility & contrast

On white

14.71
#252B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#252B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B08
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B08#FFFFFF#000000##FFFFFF
##252B081.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2804
Deuteranopia (green-blind)
#2E280A
Tritanopia (blue-blind)
#282824
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #252b08;
/* rgb */ color: rgb(37, 43, 8);
/* oklch */ color: oklch(27.5% 0.054 118.5);
Tailwind
colors: {
  custom: {
    50: '#60644a',
    500: '#252b08',
    950: '#000000',
  },
}
SCSS
$custom: #252b08;
$custom-light: #60644a;
$custom-dark: #000000;
JSON
{
  "hex": "#252b08",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 8
  },
  "hsl": {
    "h": 70.286,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.27456,
    "c": 0.0543,
    "h": 118.5
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#252B08
secondary
#31256A
accent
#3CEB5A
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #252B08

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

Preview Lab → · Contrast checker → · Palette generator →

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