#282C09#282C09

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

Color values

HEX#282C09
RGBrgb(40, 44, 9)
HSLhsl(67, 66%, 10%)
HSVhsv(67, 80%, 17%)
CMYKcmyk(9.1%, 0%, 79.5%, 82.7%)
CIE-LABlab(16.86, -7.73, 20.47)
CIE-LCHlch(16.86, 21.88, 110.68°)
OKLaboklab(28.06% -0.023 0.0483)
OKLCHoklch(28.06% 0.053 115.5)
XYZxyz(1.8251, 2.2722, 0.6008)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C09 #0D092C
analogous
#2C1E09 #282C09 #162C09
triadic
#282C09 #09282C #2C0928
tetradic
#282C09 #092C1E #0D092C #2C0916
square
#282C09 #092C1E #0D092C #2C0916
split-complementary
#282C09 #09162C #1E092C
monochromatic
#171905 #171905 #282C09 #565F13 #84921E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282C09#FFFFFF#000000##FFFFFF
##282C091.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)
#302905
Deuteranopia (green-blind)
#2F2A0B
Tritanopia (blue-blind)
#2B2925
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282c09;
/* rgb */ color: rgb(40, 44, 9);
/* oklch */ color: oklch(28.1% 0.053 115.5);
Tailwind
colors: {
  custom: {
    50: '#63654b',
    500: '#282c09',
    950: '#000000',
  },
}
SCSS
$custom: #282c09;
$custom-light: #63654b;
$custom-dark: #000000;
JSON
{
  "hex": "#282c09",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 9
  },
  "hsl": {
    "h": 66.857,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28058,
    "c": 0.05348,
    "h": 115.5
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#282C09
secondary
#2F276A
accent
#3FE952
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #282C09

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

Preview Lab → · Contrast checker → · Palette generator →

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