#252A02#252A02

#252A02 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.1% C 0.060 H 116.6°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#252A02
RGBrgb(37, 42, 2)
HSLhsl(68, 91%, 9%)
HSVhsv(68, 95%, 16%)
CMYKcmyk(11.9%, 0%, 95.2%, 83.5%)
CIE-LABlab(15.77, -8.73, 21.90)
CIE-LCHlch(15.77, 23.57, 111.73°)
OKLaboklab(27.09% -0.0267 0.0533)
OKLCHoklch(27.09% 0.06 116.6)
XYZxyz(1.6019, 2.0536, 0.3694)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A02 #07022A
analogous
#2A1B02 #252A02 #112A02
triadic
#252A02 #02252A #2A0225
tetradic
#252A02 #022A1B #07022A #2A0211
square
#252A02 #022A1B #07022A #2A0211
split-complementary
#252A02 #02112A #1B022A
monochromatic
#1A1D01 #1A1D01 #252A02 #586405 #8C9F08

Accessibility & contrast

On white

14.89
#252A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#252A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A02
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A02#FFFFFF#000000##FFFFFF
##252A021.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2D2804
Tritanopia (blue-blind)
#282722
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #252a02;
/* rgb */ color: rgb(37, 42, 2);
/* oklch */ color: oklch(27.1% 0.060 116.6);
Tailwind
colors: {
  custom: {
    50: '#606347',
    500: '#252a02',
    950: '#000000',
  },
}
SCSS
$custom: #252a02;
$custom-light: #606347;
$custom-dark: #000000;
JSON
{
  "hex": "#252a02",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 67.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27087,
    "c": 0.05966,
    "h": 116.6
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#252A02
secondary
#23196F
accent
#29FF44
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #252A02

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

Preview Lab → · Contrast checker → · Palette generator →

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