#252A06#252A06

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

Color values

HEX#252A06
RGBrgb(37, 42, 6)
HSLhsl(68, 75%, 9%)
HSVhsv(68, 86%, 16%)
CMYKcmyk(11.9%, 0%, 85.7%, 83.5%)
CIE-LABlab(15.81, -8.34, 20.33)
CIE-LCHlch(15.81, 21.97, 112.31°)
OKLaboklab(27.14% -0.0249 0.049)
OKLCHoklch(27.14% 0.055 117)
XYZxyz(1.6238, 2.0624, 0.4848)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A06 #0B062A
analogous
#2A1D06 #252A06 #132A06
triadic
#252A06 #06252A #2A0625
tetradic
#252A06 #062A1D #0B062A #2A0613
square
#252A06 #062A1D #0B062A #2A0613
split-complementary
#252A06 #06132A #1D062A
monochromatic
#181B04 #181B04 #252A06 #54600E #839515

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252A06#FFFFFF#000000##FFFFFF
##252A061.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)
#2E2702
Deuteranopia (green-blind)
#2D2808
Tritanopia (blue-blind)
#282723
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #252a06;
/* rgb */ color: rgb(37, 42, 6);
/* oklch */ color: oklch(27.1% 0.055 117.0);
Tailwind
colors: {
  custom: {
    50: '#606349',
    500: '#252a06',
    950: '#000000',
  },
}
SCSS
$custom: #252a06;
$custom-light: #606349;
$custom-dark: #000000;
JSON
{
  "hex": "#252a06",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 68.333,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27138,
    "c": 0.05499,
    "h": 117
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#252A06
secondary
#2B216B
accent
#36F250
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #252A06

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

Preview Lab → · Contrast checker → · Palette generator →

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