#252A05#252A05

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

Color values

HEX#252A05
RGBrgb(37, 42, 5)
HSLhsl(68, 79%, 9%)
HSVhsv(68, 88%, 16%)
CMYKcmyk(11.9%, 0%, 88.1%, 83.5%)
CIE-LABlab(15.80, -8.44, 20.72)
CIE-LCHlch(15.80, 22.37, 112.16°)
OKLaboklab(27.13% -0.0254 0.0501)
OKLCHoklch(27.13% 0.056 116.9)
XYZxyz(1.6183, 2.0602, 0.4560)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A05 #0A052A
analogous
#2A1D05 #252A05 #132A05
triadic
#252A05 #05252A #2A0525
tetradic
#252A05 #052A1D #0A052A #2A0513
square
#252A05 #052A1D #0A052A #2A0513
split-complementary
#252A05 #05132A #1D052A
monochromatic
#181B03 #181B03 #252A05 #55610C #859712

Accessibility & contrast

On white

14.87
#252A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252A05
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A05#FFFFFF#000000##FFFFFF
##252A051.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2701
Deuteranopia (green-blind)
#2D2807
Tritanopia (blue-blind)
#282723
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #252a05;
/* rgb */ color: rgb(37, 42, 5);
/* oklch */ color: oklch(27.1% 0.056 116.9);
Tailwind
colors: {
  custom: {
    50: '#606349',
    500: '#252a05',
    950: '#000000',
  },
}
SCSS
$custom: #252a05;
$custom-light: #606349;
$custom-dark: #000000;
JSON
{
  "hex": "#252a05",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 68.108,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27125,
    "c": 0.05613,
    "h": 116.9
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#252A05
secondary
#291F6C
accent
#33F54D
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #252A05

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

Preview Lab → · Contrast checker → · Palette generator →

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