#283916#283916

#283916 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.061 H 130.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#283916
RGBrgb(40, 57, 22)
HSLhsl(89, 44%, 15%)
HSVhsv(89, 61%, 22%)
CMYKcmyk(29.8%, 0%, 61.4%, 77.6%)
CIE-LABlab(21.71, -14.18, 19.41)
CIE-LCHlch(21.71, 24.04, 126.15°)
OKLaboklab(32.02% -0.0395 0.0461)
OKLCHoklch(32.02% 0.061 130.6)
XYZxyz(2.4830, 3.4352, 1.2911)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283916 #271639
analogous
#393816 #283916 #163916
triadic
#283916 #162839 #391628
tetradic
#283916 #163938 #271639 #391616
square
#283916 #163938 #271639 #391616
split-complementary
#283916 #161639 #381639
monochromatic
#0F1609 #0F1609 #283916 #476527 #669138

Accessibility & contrast

On white

12.45
#283916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#283916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283916
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283916#FFFFFF#000000##FFFFFF
##2839161.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3513
Deuteranopia (green-blind)
#393418
Tritanopia (blue-blind)
#293731
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #283916;
/* rgb */ color: rgb(40, 57, 22);
/* oklch */ color: oklch(32.0% 0.061 130.6);
Tailwind
colors: {
  custom: {
    50: '#636f54',
    500: '#283916',
    950: '#000000',
  },
}
SCSS
$custom: #283916;
$custom-light: #636f54;
$custom-dark: #000000;
JSON
{
  "hex": "#283916",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 22
  },
  "hsl": {
    "h": 89.143,
    "s": 44.304,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3202,
    "c": 0.06066,
    "h": 130.6
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#283916
secondary
#553B70
accent
#54D492
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050703
muted
#797A78

Preview Lab

Preview with #283916

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

Preview Lab → · Contrast checker → · Palette generator →

#283916 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva