#252B01#252B01

#252B01 is a dark, moderate yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.062 H 117.7°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#252B01
RGBrgb(37, 43, 1)
HSLhsl(69, 95%, 9%)
HSVhsv(69, 98%, 17%)
CMYKcmyk(14%, 0%, 97.7%, 83.1%)
CIE-LABlab(16.12, -9.45, 22.75)
CIE-LCHlch(16.12, 24.64, 112.56°)
OKLaboklab(27.37% -0.0289 0.0551)
OKLCHoklch(27.37% 0.062 117.7)
XYZxyz(1.6323, 2.1233, 0.3526)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B01 #07012B
analogous
#2B1C01 #252B01 #102B01
triadic
#252B01 #01252B #2B0125
tetradic
#252B01 #012B1C #07012B #2B0110
square
#252B01 #012B1C #07012B #2B0110
split-complementary
#252B01 #01102B #1C012B
monochromatic
#1A1E01 #1A1E01 #252B01 #586702 #8CA304

Accessibility & contrast

On white

14.74
#252B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#252B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B01
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B01#FFFFFF#000000##FFFFFF
##252B011.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252b01;
/* rgb */ color: rgb(37, 43, 1);
/* oklch */ color: oklch(27.4% 0.062 117.7);
Tailwind
colors: {
  custom: {
    50: '#606447',
    500: '#252b01',
    950: '#000000',
  },
}
SCSS
$custom: #252b01;
$custom-light: #606447;
$custom-dark: #000000;
JSON
{
  "hex": "#252b01",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 68.571,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27369,
    "c": 0.06222,
    "h": 117.7
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#252B01
secondary
#231771
accent
#29FF47
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #252B01

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

Preview Lab → · Contrast checker → · Palette generator →

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