#282E02#282E02

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

Color values

HEX#282E02
RGBrgb(40, 46, 2)
HSLhsl(68, 92%, 9%)
HSVhsv(68, 96%, 18%)
CMYKcmyk(13%, 0%, 95.7%, 82%)
CIE-LABlab(17.50, -9.60, 24.11)
CIE-LCHlch(17.50, 25.95, 111.71°)
OKLaboklab(28.56% -0.0293 0.0566)
OKLCHoklch(28.56% 0.064 117.4)
XYZxyz(1.8631, 2.4095, 0.4244)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E02 #08022E
analogous
#2E1E02 #282E02 #122E02
triadic
#282E02 #02282E #2E0228
tetradic
#282E02 #022E1E #08022E #2E0212
square
#282E02 #022E1E #08022E #2E0212
split-complementary
#282E02 #02122E #1E022E
monochromatic
#191D01 #191D01 #282E02 #5B6905 #8EA307

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282E02#FFFFFF#000000##FFFFFF
##282E021.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)
#312B05
Tritanopia (blue-blind)
#2B2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282e02;
/* rgb */ color: rgb(40, 46, 2);
/* oklch */ color: oklch(28.6% 0.064 117.4);
Tailwind
colors: {
  custom: {
    50: '#636648',
    500: '#282e02',
    950: '#000000',
  },
}
SCSS
$custom: #282e02;
$custom-light: #636648;
$custom-dark: #000000;
JSON
{
  "hex": "#282e02",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 68.182,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28556,
    "c": 0.06372,
    "h": 117.4
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#282E02
secondary
#251973
accent
#29FF46
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #282E02

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

Preview Lab → · Contrast checker → · Palette generator →

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