#252B02#252B02

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

Color values

HEX#252B02
RGBrgb(37, 43, 2)
HSLhsl(69, 91%, 9%)
HSVhsv(69, 95%, 17%)
CMYKcmyk(14%, 0%, 95.3%, 83.1%)
CIE-LABlab(16.13, -9.36, 22.36)
CIE-LCHlch(16.13, 24.24, 112.71°)
OKLaboklab(27.38% -0.0284 0.054)
OKLCHoklch(27.38% 0.061 117.8)
XYZxyz(1.6378, 2.1255, 0.3814)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B02 #08022B
analogous
#2B1D02 #252B02 #112B02
triadic
#252B02 #02252B #2B0225
tetradic
#252B02 #022B1D #08022B #2B0211
square
#252B02 #022B1D #08022B #2B0211
split-complementary
#252B02 #02112B #1D022B
monochromatic
#191D01 #191D01 #252B02 #576505 #8AA007

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252B02#FFFFFF#000000##FFFFFF
##252B021.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252b02;
/* rgb */ color: rgb(37, 43, 2);
/* oklch */ color: oklch(27.4% 0.061 117.8);
Tailwind
colors: {
  custom: {
    50: '#606448',
    500: '#252b02',
    950: '#000000',
  },
}
SCSS
$custom: #252b02;
$custom-light: #606448;
$custom-dark: #000000;
JSON
{
  "hex": "#252b02",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 68.78,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27382,
    "c": 0.06104,
    "h": 117.8
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#252B02
secondary
#261970
accent
#29FF48
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #252B02

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

Preview Lab → · Contrast checker → · Palette generator →

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