#282302#282302

#282302 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.4% C 0.050 H 100.8°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#282302
RGBrgb(40, 35, 2)
HSLhsl(52, 90%, 8%)
HSVhsv(52, 95%, 16%)
CMYKcmyk(0%, 12.5%, 95%, 84.3%)
CIE-LABlab(13.58, -2.43, 19.13)
CIE-LCHlch(13.58, 19.29, 97.24°)
OKLaboklab(25.42% -0.0095 0.0494)
OKLCHoklch(25.42% 0.05 100.8)
XYZxyz(1.4871, 1.6576, 0.2990)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282302 #020728
analogous
#281002 #282302 #1A2802
triadic
#282302 #022823 #230228
tetradic
#282302 #022810 #020728 #28021A
square
#282302 #022810 #020728 #28021A
split-complementary
#282302 #021A28 #100228
monochromatic
#1D1901 #1D1901 #282302 #625605 #9D8908

Accessibility & contrast

On white

15.77
#282302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#282302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282302
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282302#FFFFFF#000000##FFFFFF
##2823021.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#292403
Tritanopia (blue-blind)
#2C201C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #282302;
/* rgb */ color: rgb(40, 35, 2);
/* oklch */ color: oklch(25.4% 0.050 100.8);
Tailwind
colors: {
  custom: {
    50: '#635d47',
    500: '#282302',
    950: '#000000',
  },
}
SCSS
$custom: #282302;
$custom-light: #635d47;
$custom-dark: #000000;
JSON
{
  "hex": "#282302",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 2
  },
  "hsl": {
    "h": 52.105,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.25415,
    "c": 0.05029,
    "h": 100.8
  },
  "luminance": 0.01658
}

Semantic roles & 50–950 ramp

primary
#282302
secondary
#19246D
accent
#45FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#050400
muted
#7A7977

Preview Lab

Preview with #282302

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

Preview Lab → · Contrast checker → · Palette generator →

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