#282802#282802

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

Color values

HEX#282802
RGBrgb(40, 40, 2)
HSLhsl(60, 90%, 8%)
HSVhsv(60, 95%, 16%)
CMYKcmyk(0%, 0%, 95%, 84.3%)
CIE-LABlab(15.35, -5.78, 21.43)
CIE-LCHlch(15.35, 22.19, 105.09°)
OKLaboklab(26.82% -0.0188 0.0527)
OKLCHoklch(26.82% 0.056 109.6)
XYZxyz(1.6449, 1.9731, 0.3516)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282802 #020228
analogous
#281502 #282802 #152802
triadic
#282802 #022828 #280228
tetradic
#282802 #022815 #020228 #280215
square
#282802 #022815 #020228 #280215
split-complementary
#282802 #021528 #150228
monochromatic
#1D1D01 #1D1D01 #282802 #626205 #9D9D08

Accessibility & contrast

On white

15.06
#282802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#282802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282802
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282802#FFFFFF#000000##FFFFFF
##2828021.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2D2704
Tritanopia (blue-blind)
#2C2521
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #282802;
/* rgb */ color: rgb(40, 40, 2);
/* oklch */ color: oklch(26.8% 0.056 109.6);
Tailwind
colors: {
  custom: {
    50: '#636147',
    500: '#282802',
    950: '#000000',
  },
}
SCSS
$custom: #282802;
$custom-light: #636147;
$custom-dark: #000000;
JSON
{
  "hex": "#282802",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.26824,
    "c": 0.0559,
    "h": 109.6
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#282802
secondary
#19196D
accent
#29FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#050500
muted
#7A7977

Preview Lab

Preview with #282802

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

Preview Lab → · Contrast checker → · Palette generator →

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