#25240F#25240F

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

Color values

HEX#25240F
RGBrgb(37, 36, 15)
HSLhsl(57, 42%, 10%)
HSVhsv(57, 59%, 15%)
CMYKcmyk(0%, 2.7%, 59.5%, 85.5%)
CIE-LABlab(13.77, -3.44, 13.72)
CIE-LCHlch(13.77, 14.15, 104.08°)
OKLaboklab(25.54% -0.0098 0.0338)
OKLCHoklch(25.54% 0.035 106.2)
XYZxyz(1.4801, 1.6896, 0.7000)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25240F #0F1025
analogous
#25190F #25240F #1B250F
triadic
#25240F #0F2524 #240F25
tetradic
#25240F #0F2519 #0F1025 #250F1B
square
#25240F #0F2519 #0F1025 #250F1B
split-complementary
#25240F #0F1B25 #190F25
monochromatic
#161509 #161509 #25240F #514E21 #7C7932

Accessibility & contrast

On white

15.70
#25240F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25240F
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25240F#FFFFFF#000000##FFFFFF
##25240F1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27230D
Deuteranopia (green-blind)
#282410
Tritanopia (blue-blind)
#28221F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #25240f;
/* rgb */ color: rgb(37, 36, 15);
/* oklch */ color: oklch(25.5% 0.035 106.2);
Tailwind
colors: {
  custom: {
    50: '#605e4e',
    500: '#25240f',
    950: '#000000',
  },
}
SCSS
$custom: #25240f;
$custom-light: #605e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#25240f",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 15
  },
  "hsl": {
    "h": 57.273,
    "s": 42.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2554,
    "c": 0.0352,
    "h": 106.2
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#25240F
secondary
#33355D
accent
#5BD256
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #25240F

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

Preview Lab → · Contrast checker → · Palette generator →

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