#284032#284032

#284032 is a dark, muted green. Relative luminance 0.043; OKLCH L 34.7% C 0.039 H 158.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#284032
RGBrgb(40, 64, 50)
HSLhsl(145, 23%, 20%)
HSVhsv(145, 38%, 25%)
CMYKcmyk(37.5%, 0%, 21.9%, 74.9%)
CIE-LABlab(24.79, -12.97, 5.65)
CIE-LCHlch(24.79, 14.14, 156.47°)
OKLaboklab(34.7% -0.036 0.0145)
OKLCHoklch(34.7% 0.039 158)
XYZxyz(3.2840, 4.3480, 3.6832)
Luminance0.0435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284032 #402836
analogous
#2A4028 #284032 #28403E
triadic
#284032 #322840 #403228
tetradic
#284032 #282A40 #402836 #403E28
square
#284032 #282A40 #402836 #403E28
split-complementary
#284032 #3E2840 #40282A
monochromatic
#0C130F #101A15 #284032 #40664F #578B6D

Accessibility & contrast

On white

11.23
#284032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#284032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284032
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284032#FFFFFF#000000##FFFFFF
##2840321.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C31
Deuteranopia (green-blind)
#3C3A33
Tritanopia (blue-blind)
#23403C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #284032;
/* rgb */ color: rgb(40, 64, 50);
/* oklch */ color: oklch(34.7% 0.039 158.0);
Tailwind
colors: {
  custom: {
    50: '#637569',
    500: '#284032',
    950: '#000000',
  },
}
SCSS
$custom: #284032;
$custom-light: #637569;
$custom-dark: #000000;
JSON
{
  "hex": "#284032",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 50
  },
  "hsl": {
    "h": 145,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34698,
    "c": 0.03879,
    "h": 158
  },
  "luminance": 0.04348
}

Semantic roles & 50–950 ramp

primary
#284032
secondary
#725265
accent
#689BC0
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050806
muted
#797B7A

Preview Lab

Preview with #284032

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

Preview Lab → · Contrast checker → · Palette generator →

#284032 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva