#252202#252202

#252202 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.8% C 0.050 H 104.3°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#252202
RGBrgb(37, 34, 2)
HSLhsl(55, 90%, 8%)
HSVhsv(55, 95%, 15%)
CMYKcmyk(0%, 8.1%, 94.6%, 85.5%)
CIE-LABlab(12.87, -3.48, 18.13)
CIE-LCHlch(12.87, 18.46, 100.86°)
OKLaboklab(24.77% -0.0122 0.048)
OKLCHoklch(24.77% 0.05 104.3)
XYZxyz(1.3460, 1.5418, 0.2841)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252202 #020525
analogous
#251002 #252202 #162502
triadic
#252202 #022522 #220225
tetradic
#252202 #022510 #020525 #250216
square
#252202 #022510 #020525 #250216
split-complementary
#252202 #021625 #100225
monochromatic
#1D1B02 #1D1B02 #252202 #5F5705 #998D08

Accessibility & contrast

On white

16.05
#252202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#252202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252202
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252202#FFFFFF#000000##FFFFFF
##2522021.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#272203
Tritanopia (blue-blind)
#291F1C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #252202;
/* rgb */ color: rgb(37, 34, 2);
/* oklch */ color: oklch(24.8% 0.050 104.3);
Tailwind
colors: {
  custom: {
    50: '#605c47',
    500: '#252202',
    950: '#000000',
  },
}
SCSS
$custom: #252202;
$custom-light: #605c47;
$custom-dark: #000000;
JSON
{
  "hex": "#252202",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 2
  },
  "hsl": {
    "h": 54.857,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.2477,
    "c": 0.0495,
    "h": 104.3
  },
  "luminance": 0.01542
}

Semantic roles & 50–950 ramp

primary
#252202
secondary
#181F6A
accent
#3BFF29
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#050400
muted
#797977

Preview Lab

Preview with #252202

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

Preview Lab → · Contrast checker → · Palette generator →

#252202 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva