#283D22#283D22

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

Color values

HEX#283D22
RGBrgb(40, 61, 34)
HSLhsl(107, 28%, 19%)
HSVhsv(107, 44%, 24%)
CMYKcmyk(34.4%, 0%, 44.3%, 76.1%)
CIE-LABlab(23.35, -14.60, 14.06)
CIE-LCHlch(23.35, 20.27, 136.07°)
OKLaboklab(33.42% -0.0399 0.0348)
OKLCHoklch(33.42% 0.053 138.9)
XYZxyz(2.8325, 3.9040, 2.1174)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D22 #37223D
analogous
#353D22 #283D22 #223D29
triadic
#283D22 #22283D #3D2228
tetradic
#283D22 #22353D #37223D #3D2922
square
#283D22 #22353D #37223D #3D2922
split-complementary
#283D22 #29223D #3D2235
monochromatic
#0D140B #0E160C #283D22 #426438 #5C8C4E

Accessibility & contrast

On white

11.79
#283D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D22
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D22#FFFFFF#000000##FFFFFF
##283D221.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283d22;
/* rgb */ color: rgb(40, 61, 34);
/* oklch */ color: oklch(33.4% 0.053 138.9);
Tailwind
colors: {
  custom: {
    50: '#63725d',
    500: '#283d22',
    950: '#000000',
  },
}
SCSS
$custom: #283d22;
$custom-light: #63725d;
$custom-dark: #000000;
JSON
{
  "hex": "#283d22",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 34
  },
  "hsl": {
    "h": 106.667,
    "s": 28.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.33415,
    "c": 0.05292,
    "h": 138.9
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#283D22
secondary
#684B70
accent
#63C5AF
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050804
muted
#797B79

Preview Lab

Preview with #283D22

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

Preview Lab → · Contrast checker → · Palette generator →

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