#284231#284231

#284231 is a dark, muted green. Relative luminance 0.046; OKLCH L 35.2% C 0.044 H 154.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#284231
RGBrgb(40, 66, 49)
HSLhsl(141, 25%, 21%)
HSVhsv(141, 39%, 26%)
CMYKcmyk(39.4%, 0%, 25.8%, 74.1%)
CIE-LABlab(25.47, -14.37, 7.25)
CIE-LCHlch(25.47, 16.10, 153.21°)
OKLaboklab(35.24% -0.0396 0.0186)
OKLCHoklch(35.24% 0.044 154.9)
XYZxyz(3.3775, 4.5691, 3.6091)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284231 #422839
analogous
#2C4228 #284231 #28423E
triadic
#284231 #312842 #423128
tetradic
#284231 #282C42 #422839 #423E28
square
#284231 #282C42 #422839 #423E28
split-complementary
#284231 #3E2842 #42282C
monochromatic
#0C130E #111C15 #284231 #3F684D #568E6A

Accessibility & contrast

On white

10.97
#284231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#284231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284231
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284231#FFFFFF#000000##FFFFFF
##2842311.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E30
Deuteranopia (green-blind)
#3E3B32
Tritanopia (blue-blind)
#23413D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #284231;
/* rgb */ color: rgb(40, 66, 49);
/* oklch */ color: oklch(35.2% 0.044 154.9);
Tailwind
colors: {
  custom: {
    50: '#637669',
    500: '#284231',
    950: '#000000',
  },
}
SCSS
$custom: #284231;
$custom-light: #637669;
$custom-dark: #000000;
JSON
{
  "hex": "#284231",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 140.769,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35238,
    "c": 0.04373,
    "h": 154.9
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#284231
secondary
#745268
accent
#67A2C1
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050806
muted
#797B7A

Preview Lab

Preview with #284231

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

Preview Lab → · Contrast checker → · Palette generator →

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