#252804#252804

#252804 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.5% C 0.054 H 114.2°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#252804
RGBrgb(37, 40, 4)
HSLhsl(65, 82%, 9%)
HSVhsv(65, 90%, 16%)
CMYKcmyk(7.5%, 0%, 90%, 84.3%)
CIE-LABlab(15.06, -7.26, 20.19)
CIE-LCHlch(15.06, 21.45, 109.77°)
OKLaboklab(26.53% -0.0223 0.0497)
OKLCHoklch(26.53% 0.054 114.2)
XYZxyz(1.5437, 1.9197, 0.4041)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252804 #070428
analogous
#281904 #252804 #132804
triadic
#252804 #042528 #280425
tetradic
#252804 #042819 #070428 #280413
square
#252804 #042819 #070428 #280413
split-complementary
#252804 #041328 #190428
monochromatic
#1A1C03 #1A1C03 #252804 #58600A #8C970F

Accessibility & contrast

On white

15.17
#252804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#252804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252804
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252804#FFFFFF#000000##FFFFFF
##2528041.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2501
Deuteranopia (green-blind)
#2C2606
Tritanopia (blue-blind)
#282521
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #252804;
/* rgb */ color: rgb(37, 40, 4);
/* oklch */ color: oklch(26.5% 0.054 114.2);
Tailwind
colors: {
  custom: {
    50: '#606148',
    500: '#252804',
    950: '#000000',
  },
}
SCSS
$custom: #252804;
$custom-light: #606148;
$custom-dark: #000000;
JSON
{
  "hex": "#252804",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 4
  },
  "hsl": {
    "h": 65,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.26527,
    "c": 0.05446,
    "h": 114.2
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#252804
secondary
#231D6B
accent
#30F840
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#050500
muted
#797977

Preview Lab

Preview with #252804

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

Preview Lab → · Contrast checker → · Palette generator →

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