#284232#284232

#284232 is a dark, muted green. Relative luminance 0.046; OKLCH L 35.3% C 0.043 H 156.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#284232
RGBrgb(40, 66, 50)
HSLhsl(143, 25%, 21%)
HSVhsv(143, 39%, 26%)
CMYKcmyk(39.4%, 0%, 24.2%, 74.1%)
CIE-LABlab(25.50, -14.13, 6.64)
CIE-LCHlch(25.50, 15.62, 154.84°)
OKLaboklab(35.27% -0.039 0.017)
OKLCHoklch(35.27% 0.043 156.4)
XYZxyz(3.3988, 4.5776, 3.7215)
Luminance0.0458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284232 #422838
analogous
#2B4228 #284232 #28423F
triadic
#284232 #322842 #423228
tetradic
#284232 #282B42 #422838 #423F28
square
#284232 #282B42 #422838 #423F28
split-complementary
#284232 #3F2842 #42282B
monochromatic
#0C130E #111C15 #284232 #3F684F #568E6C

Accessibility & contrast

On white

10.96
#284232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#284232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284232
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284232#FFFFFF#000000##FFFFFF
##2842321.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E31
Deuteranopia (green-blind)
#3D3B33
Tritanopia (blue-blind)
#23423E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #284232;
/* rgb */ color: rgb(40, 66, 50);
/* oklch */ color: oklch(35.3% 0.043 156.4);
Tailwind
colors: {
  custom: {
    50: '#637669',
    500: '#284232',
    950: '#000000',
  },
}
SCSS
$custom: #284232;
$custom-light: #637669;
$custom-dark: #000000;
JSON
{
  "hex": "#284232",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 50
  },
  "hsl": {
    "h": 143.077,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35267,
    "c": 0.0426,
    "h": 156.4
  },
  "luminance": 0.04578
}

Semantic roles & 50–950 ramp

primary
#284232
secondary
#745267
accent
#679EC1
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050806
muted
#797B7A

Preview Lab

Preview with #284232

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

Preview Lab → · Contrast checker → · Palette generator →

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