#283A2B#283A2B

#283A2B is a dark, muted green. Relative luminance 0.037; OKLCH L 32.8% C 0.035 H 149.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#283A2B
RGBrgb(40, 58, 43)
HSLhsl(130, 18%, 19%)
HSVhsv(130, 31%, 23%)
CMYKcmyk(31%, 0%, 25.9%, 77.3%)
CIE-LABlab(22.48, -11.02, 7.03)
CIE-LCHlch(22.48, 13.07, 147.45°)
OKLaboklab(32.78% -0.0302 0.018)
OKLCHoklch(32.78% 0.035 149.2)
XYZxyz(2.8240, 3.6515, 2.8411)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A2B #3A2837
analogous
#2E3A28 #283A2B #283A34
triadic
#283A2B #2B283A #3A2B28
tetradic
#283A2B #282E3A #3A2837 #3A3428
square
#283A2B #282E3A #3A2837 #3A3428
split-complementary
#283A2B #34283A #3A282E
monochromatic
#0C120D #0F1610 #283A2B #415E46 #5A8261

Accessibility & contrast

On white

12.14
#283A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A2B
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A2B#FFFFFF#000000##FFFFFF
##283A2B1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372A
Deuteranopia (green-blind)
#37352C
Tritanopia (blue-blind)
#263936
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283a2b;
/* rgb */ color: rgb(40, 58, 43);
/* oklch */ color: oklch(32.8% 0.035 149.2);
Tailwind
colors: {
  custom: {
    50: '#627064',
    500: '#283a2b',
    950: '#000000',
  },
}
SCSS
$custom: #283a2b;
$custom-light: #627064;
$custom-dark: #000000;
JSON
{
  "hex": "#283a2b",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 43
  },
  "hsl": {
    "h": 130,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.32782,
    "c": 0.03519,
    "h": 149.2
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#283A2B
secondary
#6B5367
accent
#6DAEBB
background
#F5F6F5
surface
#EAECEA
border
#C6C7C6
text
#050705
muted
#797A79

Preview Lab

Preview with #283A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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