#283A24#283A24

#283A24 is a dark, muted green. Relative luminance 0.036; OKLCH L 32.6% C 0.044 H 139.9°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#283A24
RGBrgb(40, 58, 36)
HSLhsl(109, 23%, 18%)
HSVhsv(109, 38%, 23%)
CMYKcmyk(31%, 0%, 37.9%, 77.3%)
CIE-LABlab(22.32, -12.48, 11.41)
CIE-LCHlch(22.32, 16.91, 137.56°)
OKLaboklab(32.59% -0.034 0.0286)
OKLCHoklch(32.59% 0.044 139.9)
XYZxyz(2.7065, 3.6045, 2.2219)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A24 #36243A
analogous
#333A24 #283A24 #243A2B
triadic
#283A24 #24283A #3A2428
tetradic
#283A24 #24333A #36243A #3A2B24
square
#283A24 #24333A #36243A #3A2B24
split-complementary
#283A24 #2B243A #3A2433
monochromatic
#0D130C #0E140D #283A24 #42603B #5C8653

Accessibility & contrast

On white

12.20
#283A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A24
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A24#FFFFFF#000000##FFFFFF
##283A241.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3623
Deuteranopia (green-blind)
#383525
Tritanopia (blue-blind)
#273934
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a24;
/* rgb */ color: rgb(40, 58, 36);
/* oklch */ color: oklch(32.6% 0.044 139.9);
Tailwind
colors: {
  custom: {
    50: '#62705e',
    500: '#283a24',
    950: '#000000',
  },
}
SCSS
$custom: #283a24;
$custom-light: #62705e;
$custom-dark: #000000;
JSON
{
  "hex": "#283a24",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 36
  },
  "hsl": {
    "h": 109.091,
    "s": 23.404,
    "l": 18.431
  },
  "oklch": {
    "l": 0.32594,
    "c": 0.04446,
    "h": 139.9
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#283A24
secondary
#674E6C
accent
#68C0B0
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050704
muted
#797A79

Preview Lab

Preview with #283A24

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

Preview Lab → · Contrast checker → · Palette generator →

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