#283A22#283A22

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

Color values

HEX#283A22
RGBrgb(40, 58, 34)
HSLhsl(105, 26%, 18%)
HSVhsv(105, 41%, 23%)
CMYKcmyk(31%, 0%, 41.4%, 77.3%)
CIE-LABlab(22.28, -12.86, 12.65)
CIE-LCHlch(22.28, 18.04, 135.46°)
OKLaboklab(32.55% -0.0351 0.0315)
OKLCHoklch(32.55% 0.047 138.1)
XYZxyz(2.6768, 3.5926, 2.0655)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A22 #34223A
analogous
#343A22 #283A22 #223A28
triadic
#283A22 #22283A #3A2228
tetradic
#283A22 #22343A #34223A #3A2822
square
#283A22 #22343A #34223A #3A2822
split-complementary
#283A22 #28223A #3A2234
monochromatic
#0D130B #0D130B #283A22 #436139 #5D874F

Accessibility & contrast

On white

12.22
#283A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A22
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A22#FFFFFF#000000##FFFFFF
##283A221.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3620
Deuteranopia (green-blind)
#393523
Tritanopia (blue-blind)
#273834
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a22;
/* rgb */ color: rgb(40, 58, 34);
/* oklch */ color: oklch(32.5% 0.047 138.1);
Tailwind
colors: {
  custom: {
    50: '#62705d',
    500: '#283a22',
    950: '#000000',
  },
}
SCSS
$custom: #283a22;
$custom-light: #62705d;
$custom-dark: #000000;
JSON
{
  "hex": "#283a22",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 34
  },
  "hsl": {
    "h": 105,
    "s": 26.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.04716,
    "h": 138.1
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#283A22
secondary
#644B6D
accent
#65C2AB
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050704
muted
#797A79

Preview Lab

Preview with #283A22

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

Preview Lab → · Contrast checker → · Palette generator →

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