#282502#282502

#282502 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.0% C 0.052 H 104.6°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#282502
RGBrgb(40, 37, 2)
HSLhsl(55, 90%, 8%)
HSVhsv(55, 95%, 16%)
CMYKcmyk(0%, 7.5%, 95%, 84.3%)
CIE-LABlab(14.28, -3.79, 20.06)
CIE-LCHlch(14.28, 20.41, 100.69°)
OKLaboklab(25.97% -0.0132 0.0507)
OKLCHoklch(25.97% 0.052 104.6)
XYZxyz(1.5477, 1.7787, 0.3192)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282502 #020528
analogous
#281202 #282502 #182802
triadic
#282502 #022825 #250228
tetradic
#282502 #022812 #020528 #280218
square
#282502 #022812 #020528 #280218
split-complementary
#282502 #021828 #120228
monochromatic
#1D1B01 #1D1B01 #282502 #625B05 #9D9108

Accessibility & contrast

On white

15.49
#282502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#282502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282502
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282502#FFFFFF#000000##FFFFFF
##2825021.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#2A2504
Tritanopia (blue-blind)
#2C221E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #282502;
/* rgb */ color: rgb(40, 37, 2);
/* oklch */ color: oklch(26.0% 0.052 104.6);
Tailwind
colors: {
  custom: {
    50: '#635f47',
    500: '#282502',
    950: '#000000',
  },
}
SCSS
$custom: #282502;
$custom-light: #635f47;
$custom-dark: #000000;
JSON
{
  "hex": "#282502",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 55.263,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.25974,
    "c": 0.05239,
    "h": 104.6
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#282502
secondary
#191F6D
accent
#3AFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#050400
muted
#7A7977

Preview Lab

Preview with #282502

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

Preview Lab → · Contrast checker → · Palette generator →

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