#252B05#252B05

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

Color values

HEX#252B05
RGBrgb(37, 43, 5)
HSLhsl(69, 79%, 9%)
HSVhsv(69, 88%, 17%)
CMYKcmyk(14%, 0%, 88.4%, 83.1%)
CIE-LABlab(16.17, -9.07, 21.18)
CIE-LCHlch(16.17, 23.04, 113.17°)
OKLaboklab(27.42% -0.0271 0.0508)
OKLCHoklch(27.42% 0.058 118.1)
XYZxyz(1.6543, 2.1320, 0.4679)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B05 #0B052B
analogous
#2B1E05 #252B05 #122B05
triadic
#252B05 #05252B #2B0525
tetradic
#252B05 #052B1E #0B052B #2B0512
square
#252B05 #052B1E #0B052B #2B0512
split-complementary
#252B05 #05122B #1E052B
monochromatic
#181B03 #181B03 #252B05 #54620B #839912

Accessibility & contrast

On white

14.72
#252B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252B05
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B05#FFFFFF#000000##FFFFFF
##252B051.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2801
Deuteranopia (green-blind)
#2E2808
Tritanopia (blue-blind)
#282824
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #252b05;
/* rgb */ color: rgb(37, 43, 5);
/* oklch */ color: oklch(27.4% 0.058 118.1);
Tailwind
colors: {
  custom: {
    50: '#606449',
    500: '#252b05',
    950: '#000000',
  },
}
SCSS
$custom: #252b05;
$custom-light: #606449;
$custom-dark: #000000;
JSON
{
  "hex": "#252b05",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 69.474,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27419,
    "c": 0.05759,
    "h": 118.1
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#252B05
secondary
#2B1F6D
accent
#32F651
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #252B05

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

Preview Lab → · Contrast checker → · Palette generator →

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