#282E08#282E08

#282E08 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.057 H 117.9°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#282E08
RGBrgb(40, 46, 8)
HSLhsl(69, 70%, 11%)
HSVhsv(69, 83%, 18%)
CMYKcmyk(13%, 0%, 82.6%, 82%)
CIE-LABlab(17.57, -9.08, 21.74)
CIE-LCHlch(17.57, 23.56, 112.66°)
OKLaboklab(28.62% -0.0269 0.0508)
OKLCHoklch(28.62% 0.057 117.9)
XYZxyz(1.8959, 2.4227, 0.5974)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E08 #0E082E
analogous
#2E2108 #282E08 #152E08
triadic
#282E08 #08282E #2E0828
tetradic
#282E08 #082E21 #0E082E #2E0815
square
#282E08 #082E21 #0E082E #2E0815
split-complementary
#282E08 #08152E #21082E
monochromatic
#171A05 #171A05 #282E08 #556211 #83961A

Accessibility & contrast

On white

14.15
#282E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E08
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E08#FFFFFF#000000##FFFFFF
##282E081.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282e08;
/* rgb */ color: rgb(40, 46, 8);
/* oklch */ color: oklch(28.6% 0.057 117.9);
Tailwind
colors: {
  custom: {
    50: '#63664b',
    500: '#282e08',
    950: '#000000',
  },
}
SCSS
$custom: #282e08;
$custom-light: #63664b;
$custom-dark: #000000;
JSON
{
  "hex": "#282e08",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 8
  },
  "hsl": {
    "h": 69.474,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28624,
    "c": 0.05747,
    "h": 117.9
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#282E08
secondary
#30256D
accent
#3BED57
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #282E08

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

Preview Lab → · Contrast checker → · Palette generator →

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