#252702#252702

#252702 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.2% C 0.056 H 112.7°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#252702
RGBrgb(37, 39, 2)
HSLhsl(63, 90%, 8%)
HSVhsv(63, 95%, 15%)
CMYKcmyk(5.1%, 0%, 94.9%, 84.7%)
CIE-LABlab(14.67, -6.81, 20.50)
CIE-LCHlch(14.67, 21.60, 108.37°)
OKLaboklab(26.21% -0.0214 0.0513)
OKLCHoklch(26.21% 0.056 112.7)
XYZxyz(1.4995, 1.8488, 0.3353)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252702 #040227
analogous
#271602 #252702 #122702
triadic
#252702 #022527 #270225
tetradic
#252702 #022716 #040227 #270212
square
#252702 #022716 #040227 #270212
split-complementary
#252702 #021227 #160227
monochromatic
#1C1D01 #1C1D01 #252702 #5C6105 #939B08

Accessibility & contrast

On white

15.33
#252702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#252702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252702
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252702#FFFFFF#000000##FFFFFF
##2527021.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2B2504
Tritanopia (blue-blind)
#282420
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #252702;
/* rgb */ color: rgb(37, 39, 2);
/* oklch */ color: oklch(26.2% 0.056 112.7);
Tailwind
colors: {
  custom: {
    50: '#606147',
    500: '#252702',
    950: '#000000',
  },
}
SCSS
$custom: #252702;
$custom-light: #606147;
$custom-dark: #000000;
JSON
{
  "hex": "#252702",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 63.243,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.26209,
    "c": 0.05562,
    "h": 112.7
  },
  "luminance": 0.01849
}

Semantic roles & 50–950 ramp

primary
#252702
secondary
#1D186C
accent
#29FF34
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#050500
muted
#797977

Preview Lab

Preview with #252702

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

Preview Lab → · Contrast checker → · Palette generator →

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