#282D03#282D03

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

Color values

HEX#282D03
RGBrgb(40, 45, 3)
HSLhsl(67, 88%, 9%)
HSVhsv(67, 93%, 18%)
CMYKcmyk(11.1%, 0%, 93.3%, 82.4%)
CIE-LABlab(17.15, -8.89, 23.28)
CIE-LCHlch(17.15, 24.92, 110.91°)
OKLaboklab(28.28% -0.0272 0.0549)
OKLCHoklch(28.28% 0.061 116.3)
XYZxyz(1.8299, 2.3345, 0.4403)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D03 #08032D
analogous
#2D1D03 #282D03 #132D03
triadic
#282D03 #03282D #2D0328
tetradic
#282D03 #032D1D #08032D #2D0313
square
#282D03 #032D1D #08032D #2D0313
split-complementary
#282D03 #03132D #1D032D
monochromatic
#191D02 #191D02 #282D03 #5B6607 #8EA00B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282D03#FFFFFF#000000##FFFFFF
##282D031.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)
#312A06
Tritanopia (blue-blind)
#2B2A25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282d03;
/* rgb */ color: rgb(40, 45, 3);
/* oklch */ color: oklch(28.3% 0.061 116.3);
Tailwind
colors: {
  custom: {
    50: '#636548',
    500: '#282d03',
    950: '#000000',
  },
}
SCSS
$custom: #282d03;
$custom-light: #636548;
$custom-dark: #000000;
JSON
{
  "hex": "#282d03",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 67.143,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28277,
    "c": 0.06127,
    "h": 116.3
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#282D03
secondary
#251B71
accent
#2AFE43
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050500
muted
#7A7A77

Preview Lab

Preview with #282D03

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

Preview Lab → · Contrast checker → · Palette generator →

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