#283A20#283A20

#283A20 is a dark, muted green. Relative luminance 0.036; OKLCH L 32.5% C 0.050 H 136.5°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#283A20
RGBrgb(40, 58, 32)
HSLhsl(102, 29%, 18%)
HSVhsv(102, 45%, 23%)
CMYKcmyk(31%, 0%, 44.8%, 77.3%)
CIE-LABlab(22.24, -13.22, 13.89)
CIE-LCHlch(22.24, 19.17, 133.59°)
OKLaboklab(32.5% -0.0361 0.0343)
OKLCHoklch(32.5% 0.05 136.5)
XYZxyz(2.6488, 3.5814, 1.9179)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A20 #32203A
analogous
#353A20 #283A20 #203A25
triadic
#283A20 #20283A #3A2028
tetradic
#283A20 #20353A #32203A #3A2520
square
#283A20 #20353A #32203A #3A2520
split-complementary
#283A20 #25203A #3A2035
monochromatic
#0E140B #0E140B #283A20 #436136 #5E894C

Accessibility & contrast

On white

12.23
#283A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#283A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A20
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A20#FFFFFF#000000##FFFFFF
##283A201.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361E
Deuteranopia (green-blind)
#393521
Tritanopia (blue-blind)
#283834
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a20;
/* rgb */ color: rgb(40, 58, 32);
/* oklch */ color: oklch(32.5% 0.050 136.5);
Tailwind
colors: {
  custom: {
    50: '#62705b',
    500: '#283a20',
    950: '#000000',
  },
}
SCSS
$custom: #283a20;
$custom-light: #62705b;
$custom-dark: #000000;
JSON
{
  "hex": "#283a20",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 32
  },
  "hsl": {
    "h": 101.538,
    "s": 28.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.32501,
    "c": 0.04983,
    "h": 136.5
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#283A20
secondary
#62496D
accent
#63C5A7
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050704
muted
#797A79

Preview Lab

Preview with #283A20

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

Preview Lab → · Contrast checker → · Palette generator →

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