#252402#252402

#252402 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.3% C 0.052 H 107.9°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#252402
RGBrgb(37, 36, 2)
HSLhsl(58, 90%, 8%)
HSVhsv(58, 95%, 15%)
CMYKcmyk(0%, 2.7%, 94.6%, 85.5%)
CIE-LABlab(13.59, -4.83, 19.08)
CIE-LCHlch(13.59, 19.69, 104.20°)
OKLaboklab(25.34% -0.016 0.0493)
OKLCHoklch(25.34% 0.052 107.9)
XYZxyz(1.4048, 1.6595, 0.3037)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252402 #020325
analogous
#251302 #252402 #142502
triadic
#252402 #022524 #240225
tetradic
#252402 #022513 #020325 #250214
square
#252402 #022513 #020325 #250214
split-complementary
#252402 #021425 #130225
monochromatic
#1D1C02 #1D1C02 #252402 #5F5C05 #999508

Accessibility & contrast

On white

15.77
#252402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#252402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252402
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252402#FFFFFF#000000##FFFFFF
##2524021.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#292304
Tritanopia (blue-blind)
#29211D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #252402;
/* rgb */ color: rgb(37, 36, 2);
/* oklch */ color: oklch(25.3% 0.052 107.9);
Tailwind
colors: {
  custom: {
    50: '#605e47',
    500: '#252402',
    950: '#000000',
  },
}
SCSS
$custom: #252402;
$custom-light: #605e47;
$custom-dark: #000000;
JSON
{
  "hex": "#252402",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 2
  },
  "hsl": {
    "h": 58.286,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.25342,
    "c": 0.05183,
    "h": 107.9
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#252402
secondary
#181B6A
accent
#2FFF29
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#050400
muted
#797977

Preview Lab

Preview with #252402

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

Preview Lab → · Contrast checker → · Palette generator →

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