#282D08#282D08

#282D08 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.056 H 116.7°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#282D08
RGBrgb(40, 45, 8)
HSLhsl(68, 70%, 10%)
HSVhsv(68, 82%, 18%)
CMYKcmyk(11.1%, 0%, 82.2%, 82.4%)
CIE-LABlab(17.20, -8.45, 21.30)
CIE-LCHlch(17.20, 22.92, 111.63°)
OKLaboklab(28.34% -0.0252 0.05)
OKLCHoklch(28.34% 0.056 116.7)
XYZxyz(1.8573, 2.3454, 0.5846)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D08 #0D082D
analogous
#2D1F08 #282D08 #152D08
triadic
#282D08 #08282D #2D0828
tetradic
#282D08 #082D1F #0D082D #2D0815
square
#282D08 #082D1F #0D082D #2D0815
split-complementary
#282D08 #08152D #1F082D
monochromatic
#171A05 #171A05 #282D08 #566111 #84951A

Accessibility & contrast

On white

14.30
#282D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282D08
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D08#FFFFFF#000000##FFFFFF
##282D081.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A04
Deuteranopia (green-blind)
#302B0B
Tritanopia (blue-blind)
#2B2A26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282d08;
/* rgb */ color: rgb(40, 45, 8);
/* oklch */ color: oklch(28.3% 0.056 116.7);
Tailwind
colors: {
  custom: {
    50: '#63654b',
    500: '#282d08',
    950: '#000000',
  },
}
SCSS
$custom: #282d08;
$custom-light: #63654b;
$custom-dark: #000000;
JSON
{
  "hex": "#282d08",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 68.108,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28335,
    "c": 0.05599,
    "h": 116.7
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#282D08
secondary
#2F256C
accent
#3BED53
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050501
muted
#7A7A77

Preview Lab

Preview with #282D08

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

Preview Lab → · Contrast checker → · Palette generator →

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