#25240B#25240B

#25240B is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.5% C 0.040 H 106.9°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#25240B
RGBrgb(37, 36, 11)
HSLhsl(58, 54%, 9%)
HSVhsv(58, 70%, 15%)
CMYKcmyk(0%, 2.7%, 70.3%, 85.5%)
CIE-LABlab(13.71, -3.91, 15.56)
CIE-LCHlch(13.71, 16.05, 104.11°)
OKLaboklab(25.47% -0.0117 0.0387)
OKLCHoklch(25.47% 0.04 106.9)
XYZxyz(1.4543, 1.6793, 0.5641)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25240B #0B0C25
analogous
#25170B #25240B #19250B
triadic
#25240B #0B2524 #240B25
tetradic
#25240B #0B2517 #0B0C25 #250B19
square
#25240B #0B2517 #0B0C25 #250B19
split-complementary
#25240B #0B1925 #170B25
monochromatic
#181707 #181707 #25240B #545219 #838027

Accessibility & contrast

On white

15.72
#25240B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#25240B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25240B
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25240B#FFFFFF#000000##FFFFFF
##25240B1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272209
Deuteranopia (green-blind)
#28230C
Tritanopia (blue-blind)
#28211E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #25240b;
/* rgb */ color: rgb(37, 36, 11);
/* oklch */ color: oklch(25.5% 0.040 106.9);
Tailwind
colors: {
  custom: {
    50: '#605e4c',
    500: '#25240b',
    950: '#000000',
  },
}
SCSS
$custom: #25240b;
$custom-light: #605e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#25240b",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 11
  },
  "hsl": {
    "h": 57.692,
    "s": 54.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25472,
    "c": 0.04046,
    "h": 106.9
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#25240B
secondary
#2B2D60
accent
#50DE4A
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #25240B

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

Preview Lab → · Contrast checker → · Palette generator →

#25240B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva