#282E03#282E03

#282E03 is a dark, moderate yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.063 H 117.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#282E03
RGBrgb(40, 46, 3)
HSLhsl(68, 88%, 10%)
HSVhsv(68, 93%, 18%)
CMYKcmyk(13%, 0%, 93.5%, 82%)
CIE-LABlab(17.51, -9.51, 23.72)
CIE-LCHlch(17.51, 25.55, 111.86°)
OKLaboklab(28.57% -0.0289 0.0556)
OKLCHoklch(28.57% 0.063 117.5)
XYZxyz(1.8686, 2.4117, 0.4532)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E03 #09032E
analogous
#2E1F03 #282E03 #132E03
triadic
#282E03 #03282E #2E0328
tetradic
#282E03 #032E1F #09032E #2E0313
square
#282E03 #032E1F #09032E #2E0313
split-complementary
#282E03 #03132E #1F032E
monochromatic
#191D02 #191D02 #282E03 #5A6707 #8CA10A

Accessibility & contrast

On white

14.17
#282E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#282E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E03
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E03#FFFFFF#000000##FFFFFF
##282E031.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#312B06
Tritanopia (blue-blind)
#2B2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282e03;
/* rgb */ color: rgb(40, 46, 3);
/* oklch */ color: oklch(28.6% 0.063 117.5);
Tailwind
colors: {
  custom: {
    50: '#636648',
    500: '#282e03',
    950: '#000000',
  },
}
SCSS
$custom: #282e03;
$custom-light: #636648;
$custom-dark: #000000;
JSON
{
  "hex": "#282e03",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 3
  },
  "hsl": {
    "h": 68.372,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28567,
    "c": 0.06264,
    "h": 117.5
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#282E03
secondary
#271B72
accent
#2AFE47
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #282E03

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

Preview Lab → · Contrast checker → · Palette generator →

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