#252B04#252B04

#252B04 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.059 H 118.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#252B04
RGBrgb(37, 43, 4)
HSLhsl(69, 83%, 9%)
HSVhsv(69, 91%, 17%)
CMYKcmyk(14%, 0%, 90.7%, 83.1%)
CIE-LABlab(16.15, -9.16, 21.57)
CIE-LCHlch(16.15, 23.44, 113.02°)
OKLaboklab(27.41% -0.0276 0.0519)
OKLCHoklch(27.41% 0.059 118)
XYZxyz(1.6488, 2.1299, 0.4391)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B04 #0A042B
analogous
#2B1E04 #252B04 #122B04
triadic
#252B04 #04252B #2B0425
tetradic
#252B04 #042B1E #0A042B #2B0412
square
#252B04 #042B1E #0A042B #2B0412
split-complementary
#252B04 #04122B #1E042B
monochromatic
#181C03 #181C03 #252B04 #556309 #859B0E

Accessibility & contrast

On white

14.73
#252B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#252B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B04
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B04#FFFFFF#000000##FFFFFF
##252B041.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2E2807
Tritanopia (blue-blind)
#282823
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #252b04;
/* rgb */ color: rgb(37, 43, 4);
/* oklch */ color: oklch(27.4% 0.059 118.0);
Tailwind
colors: {
  custom: {
    50: '#606448',
    500: '#252b04',
    950: '#000000',
  },
}
SCSS
$custom: #252b04;
$custom-light: #606448;
$custom-dark: #000000;
JSON
{
  "hex": "#252b04",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 69.231,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27406,
    "c": 0.05872,
    "h": 118
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#252B04
secondary
#291D6E
accent
#2EF94E
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #252B04

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

Preview Lab → · Contrast checker → · Palette generator →

#252B04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva