#282D02#282D02

#282D02 is a dark, moderate yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.062 H 116.3°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#282D02
RGBrgb(40, 45, 2)
HSLhsl(67, 91%, 9%)
HSVhsv(67, 96%, 18%)
CMYKcmyk(11.1%, 0%, 95.6%, 82.4%)
CIE-LABlab(17.14, -8.98, 23.67)
CIE-LCHlch(17.14, 25.32, 110.77°)
OKLaboklab(28.27% -0.0276 0.0559)
OKLCHoklch(28.27% 0.062 116.3)
XYZxyz(1.8245, 2.3323, 0.4115)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D02 #07022D
analogous
#2D1D02 #282D02 #132D02
triadic
#282D02 #02282D #2D0228
tetradic
#282D02 #022D1D #07022D #2D0213
square
#282D02 #022D1D #07022D #2D0213
split-complementary
#282D02 #02132D #1D022D
monochromatic
#1A1D01 #1A1D01 #282D02 #5C6805 #90A207

Accessibility & contrast

On white

14.32
#282D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#282D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D02
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D02#FFFFFF#000000##FFFFFF
##282D021.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#312A05
Tritanopia (blue-blind)
#2B2A25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282d02;
/* rgb */ color: rgb(40, 45, 2);
/* oklch */ color: oklch(28.3% 0.062 116.3);
Tailwind
colors: {
  custom: {
    50: '#636548',
    500: '#282d02',
    950: '#000000',
  },
}
SCSS
$custom: #282d02;
$custom-light: #636548;
$custom-dark: #000000;
JSON
{
  "hex": "#282d02",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 66.977,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28265,
    "c": 0.06237,
    "h": 116.3
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#282D02
secondary
#231972
accent
#29FF42
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050500
muted
#7A7A77

Preview Lab

Preview with #282D02

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

Preview Lab → · Contrast checker → · Palette generator →

#282D02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva