#252902#252902

#252902 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 26.8% C 0.058 H 115.4°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#252902
RGBrgb(37, 41, 2)
HSLhsl(66, 91%, 8%)
HSVhsv(66, 95%, 16%)
CMYKcmyk(9.8%, 0%, 95.1%, 83.9%)
CIE-LABlab(15.40, -8.10, 21.44)
CIE-LCHlch(15.40, 22.91, 110.69°)
OKLaboklab(26.79% -0.025 0.0527)
OKLCHoklch(26.79% 0.058 115.4)
XYZxyz(1.5669, 1.9836, 0.3578)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252902 #060229
analogous
#291902 #252902 #112902
triadic
#252902 #022529 #290225
tetradic
#252902 #022919 #060229 #290211
square
#252902 #022919 #060229 #290211
split-complementary
#252902 #021129 #190229
monochromatic
#1A1D01 #1A1D01 #252902 #5A6305 #8E9E08

Accessibility & contrast

On white

15.03
#252902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#252902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252902
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252902#FFFFFF#000000##FFFFFF
##2529021.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2D2704
Tritanopia (blue-blind)
#282622
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #252902;
/* rgb */ color: rgb(37, 41, 2);
/* oklch */ color: oklch(26.8% 0.058 115.4);
Tailwind
colors: {
  custom: {
    50: '#606247',
    500: '#252902',
    950: '#000000',
  },
}
SCSS
$custom: #252902;
$custom-light: #606247;
$custom-dark: #000000;
JSON
{
  "hex": "#252902",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 66.154,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26793,
    "c": 0.05829,
    "h": 115.4
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#252902
secondary
#21196E
accent
#29FF3F
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #252902

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

Preview Lab → · Contrast checker → · Palette generator →

#252902 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva