#283D20#283D20

#283D20 is a dark, muted green. Relative luminance 0.039; OKLCH L 33.4% C 0.056 H 137.5°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#283D20
RGBrgb(40, 61, 32)
HSLhsl(103, 31%, 18%)
HSVhsv(103, 48%, 24%)
CMYKcmyk(34.4%, 0%, 47.5%, 76.1%)
CIE-LABlab(23.31, -14.95, 15.28)
CIE-LCHlch(23.31, 21.38, 134.38°)
OKLaboklab(33.37% -0.0409 0.0375)
OKLCHoklch(33.37% 0.056 137.5)
XYZxyz(2.8044, 3.8928, 1.9698)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D20 #35203D
analogous
#363D20 #283D20 #203D26
triadic
#283D20 #20283D #3D2028
tetradic
#283D20 #20363D #35203D #3D2620
square
#283D20 #20363D #35203D #3D2620
split-complementary
#283D20 #26203D #3D2036
monochromatic
#0D140B #0E150B #283D20 #426535 #5D8D4A

Accessibility & contrast

On white

11.81
#283D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#283D20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D20
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D20#FFFFFF#000000##FFFFFF
##283D201.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391E
Deuteranopia (green-blind)
#3C3722
Tritanopia (blue-blind)
#273B36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283d20;
/* rgb */ color: rgb(40, 61, 32);
/* oklch */ color: oklch(33.4% 0.056 137.5);
Tailwind
colors: {
  custom: {
    50: '#63725c',
    500: '#283d20',
    950: '#000000',
  },
}
SCSS
$custom: #283d20;
$custom-light: #63725c;
$custom-dark: #000000;
JSON
{
  "hex": "#283d20",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 32
  },
  "hsl": {
    "h": 103.448,
    "s": 31.183,
    "l": 18.235
  },
  "oklch": {
    "l": 0.33372,
    "c": 0.05552,
    "h": 137.5
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#283D20
secondary
#654871
accent
#60C7AB
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050804
muted
#797B79

Preview Lab

Preview with #283D20

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

Preview Lab → · Contrast checker → · Palette generator →

#283D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva