#252104#252104

#252104 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.5% C 0.046 H 101.6°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#252104
RGBrgb(37, 33, 4)
HSLhsl(53, 80%, 8%)
HSVhsv(53, 89%, 15%)
CMYKcmyk(0%, 10.8%, 89.2%, 85.5%)
CIE-LABlab(12.54, -2.58, 16.87)
CIE-LCHlch(12.54, 17.07, 98.70°)
OKLaboklab(24.52% -0.0092 0.0446)
OKLCHoklch(24.52% 0.046 101.6)
XYZxyz(1.3288, 1.4899, 0.3324)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252104 #040825
analogous
#251004 #252104 #182504
triadic
#252104 #042521 #210425
tetradic
#252104 #042510 #040825 #250418
square
#252104 #042510 #040825 #250418
split-complementary
#252104 #041825 #100425
monochromatic
#1C1903 #1C1903 #252104 #5C520A #938410

Accessibility & contrast

On white

16.18
#252104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#252104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252104
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252104#FFFFFF#000000##FFFFFF
##2521041.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252002
Deuteranopia (green-blind)
#262105
Tritanopia (blue-blind)
#291E1B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #252104;
/* rgb */ color: rgb(37, 33, 4);
/* oklch */ color: oklch(24.5% 0.046 101.6);
Tailwind
colors: {
  custom: {
    50: '#605c48',
    500: '#252104',
    950: '#000000',
  },
}
SCSS
$custom: #252104;
$custom-light: #605c48;
$custom-dark: #000000;
JSON
{
  "hex": "#252104",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 52.727,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24518,
    "c": 0.04558,
    "h": 101.6
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#252104
secondary
#1D2668
accent
#49F731
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#050400
muted
#797977

Preview Lab

Preview with #252104

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

Preview Lab → · Contrast checker → · Palette generator →

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