#283816#283816

#283816 is a dark, muted yellow-green. Relative luminance 0.033; OKLCH L 31.7% C 0.059 H 130.0°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#283816
RGBrgb(40, 56, 22)
HSLhsl(88, 44%, 15%)
HSVhsv(88, 61%, 22%)
CMYKcmyk(28.6%, 0%, 60.7%, 78%)
CIE-LABlab(21.35, -13.60, 18.98)
CIE-LCHlch(21.35, 23.35, 125.63°)
OKLaboklab(31.73% -0.0379 0.0451)
OKLCHoklch(31.73% 0.059 130)
XYZxyz(2.4340, 3.3373, 1.2748)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283816 #261638
analogous
#383716 #283816 #173816
triadic
#283816 #162838 #381628
tetradic
#283816 #163837 #261638 #381617
square
#283816 #163837 #261638 #381617
split-complementary
#283816 #161738 #371638
monochromatic
#101609 #101609 #283816 #476427 #679039

Accessibility & contrast

On white

12.59
#283816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#283816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283816
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283816#FFFFFF#000000##FFFFFF
##2838161.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3413
Deuteranopia (green-blind)
#383318
Tritanopia (blue-blind)
#293630
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #283816;
/* rgb */ color: rgb(40, 56, 22);
/* oklch */ color: oklch(31.7% 0.059 130.0);
Tailwind
colors: {
  custom: {
    50: '#636e54',
    500: '#283816',
    950: '#000000',
  },
}
SCSS
$custom: #283816;
$custom-light: #636e54;
$custom-dark: #000000;
JSON
{
  "hex": "#283816",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 22
  },
  "hsl": {
    "h": 88.235,
    "s": 43.59,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31728,
    "c": 0.05891,
    "h": 130
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#283816
secondary
#533B6F
accent
#54D390
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050702
muted
#797A78

Preview Lab

Preview with #283816

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

Preview Lab → · Contrast checker → · Palette generator →

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