#282C08#282C08

#282C08 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.0% C 0.055 H 115.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#282C08
RGBrgb(40, 44, 8)
HSLhsl(67, 69%, 10%)
HSVhsv(67, 82%, 17%)
CMYKcmyk(9.1%, 0%, 81.8%, 82.7%)
CIE-LABlab(16.84, -7.82, 20.86)
CIE-LCHlch(16.84, 22.28, 110.54°)
OKLaboklab(28.05% -0.0234 0.0492)
OKLCHoklch(28.05% 0.055 115.4)
XYZxyz(1.8196, 2.2700, 0.5720)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C08 #0C082C
analogous
#2C1E08 #282C08 #162C08
triadic
#282C08 #08282C #2C0828
tetradic
#282C08 #082C1E #0C082C #2C0816
square
#282C08 #082C1E #0C082C #2C0816
split-complementary
#282C08 #08162C #1E082C
monochromatic
#181A05 #181A05 #282C08 #576011 #86941B

Accessibility & contrast

On white

14.44
#282C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#282C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C08
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C08#FFFFFF#000000##FFFFFF
##282C081.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302904
Deuteranopia (green-blind)
#2F2A0A
Tritanopia (blue-blind)
#2B2925
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282c08;
/* rgb */ color: rgb(40, 44, 8);
/* oklch */ color: oklch(28.0% 0.055 115.4);
Tailwind
colors: {
  custom: {
    50: '#63654a',
    500: '#282c08',
    950: '#000000',
  },
}
SCSS
$custom: #282c08;
$custom-light: #63654a;
$custom-dark: #000000;
JSON
{
  "hex": "#282c08",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 66.667,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28046,
    "c": 0.05451,
    "h": 115.4
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#282C08
secondary
#2D256B
accent
#3CEC4F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050501
muted
#7A7A77

Preview Lab

Preview with #282C08

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

Preview Lab → · Contrast checker → · Palette generator →

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