#283C22#283C22

#283C22 is a dark, muted green. Relative luminance 0.038; OKLCH L 33.1% C 0.051 H 138.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#283C22
RGBrgb(40, 60, 34)
HSLhsl(106, 28%, 18%)
HSVhsv(106, 43%, 24%)
CMYKcmyk(33.3%, 0%, 43.3%, 76.5%)
CIE-LABlab(22.99, -14.03, 13.60)
CIE-LCHlch(22.99, 19.53, 135.89°)
OKLaboklab(33.13% -0.0383 0.0337)
OKLCHoklch(33.13% 0.051 138.7)
XYZxyz(2.7796, 3.7982, 2.0997)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C22 #36223C
analogous
#353C22 #283C22 #223C29
triadic
#283C22 #22283C #3C2228
tetradic
#283C22 #22353C #36223C #3C2922
square
#283C22 #22353C #36223C #3C2922
split-complementary
#283C22 #29223C #3C2235
monochromatic
#0D140B #0E150C #283C22 #426338 #5C8A4E

Accessibility & contrast

On white

11.93
#283C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#283C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C22
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C22#FFFFFF#000000##FFFFFF
##283C221.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3820
Deuteranopia (green-blind)
#3B3623
Tritanopia (blue-blind)
#273A35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283c22;
/* rgb */ color: rgb(40, 60, 34);
/* oklch */ color: oklch(33.1% 0.051 138.7);
Tailwind
colors: {
  custom: {
    50: '#63715d',
    500: '#283c22',
    950: '#000000',
  },
}
SCSS
$custom: #283c22;
$custom-light: #63715d;
$custom-dark: #000000;
JSON
{
  "hex": "#283c22",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 34
  },
  "hsl": {
    "h": 106.154,
    "s": 27.66,
    "l": 18.431
  },
  "oklch": {
    "l": 0.33125,
    "c": 0.05102,
    "h": 138.7
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#283C22
secondary
#674B6F
accent
#64C4AE
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050704
muted
#797A79

Preview Lab

Preview with #283C22

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

Preview Lab → · Contrast checker → · Palette generator →

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