#283A2A#283A2A

#283A2A is a dark, muted green. Relative luminance 0.036; OKLCH L 32.8% C 0.036 H 147.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#283A2A
RGBrgb(40, 58, 42)
HSLhsl(127, 18%, 19%)
HSVhsv(127, 31%, 23%)
CMYKcmyk(31%, 0%, 27.6%, 77.3%)
CIE-LABlab(22.46, -11.24, 7.66)
CIE-LCHlch(22.46, 13.60, 145.73°)
OKLaboklab(32.75% -0.0308 0.0196)
OKLCHoklch(32.75% 0.036 147.6)
XYZxyz(2.8059, 3.6443, 2.7456)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A2A #3A2838
analogous
#2F3A28 #283A2A #283A33
triadic
#283A2A #2A283A #3A2A28
tetradic
#283A2A #282F3A #3A2838 #3A3328
square
#283A2A #282F3A #3A2838 #3A3328
split-complementary
#283A2A #33283A #3A282F
monochromatic
#0C120D #0F1610 #283A2A #415E44 #5A825E

Accessibility & contrast

On white

12.15
#283A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#283A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A2A
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A2A#FFFFFF#000000##FFFFFF
##283A2A1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3729
Deuteranopia (green-blind)
#38352B
Tritanopia (blue-blind)
#263936
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283a2a;
/* rgb */ color: rgb(40, 58, 42);
/* oklch */ color: oklch(32.8% 0.036 147.6);
Tailwind
colors: {
  custom: {
    50: '#627063',
    500: '#283a2a',
    950: '#000000',
  },
}
SCSS
$custom: #283a2a;
$custom-light: #627063;
$custom-dark: #000000;
JSON
{
  "hex": "#283a2a",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 42
  },
  "hsl": {
    "h": 126.667,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.32753,
    "c": 0.03647,
    "h": 147.6
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#283A2A
secondary
#6B5368
accent
#6DB2BB
background
#F5F6F5
surface
#EAECEA
border
#C6C7C6
text
#050705
muted
#797A79

Preview Lab

Preview with #283A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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