#285221#285221

#285221 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.5% C 0.091 H 140.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#285221
RGBrgb(40, 82, 33)
HSLhsl(111, 43%, 23%)
HSVhsv(111, 60%, 32%)
CMYKcmyk(51.2%, 0%, 59.8%, 67.8%)
CIE-LABlab(30.87, -25.71, 24.02)
CIE-LCHlch(30.87, 35.19, 136.95°)
OKLaboklab(39.53% -0.0703 0.0572)
OKLCHoklch(39.53% 0.091 140.9)
XYZxyz(4.1667, 6.5952, 2.4920)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285221 #4B2152
analogous
#405221 #285221 #215233
triadic
#285221 #212852 #522128
tetradic
#285221 #214052 #4B2152 #523321
square
#285221 #214052 #4B2152 #523321
split-complementary
#285221 #332152 #522140
monochromatic
#0B1609 #13260F #285221 #3D7E33 #53A944

Accessibility & contrast

On white

9.05
#285221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#285221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285221
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285221#FFFFFF#000000##FFFFFF
##2852211.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1C
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#244F47
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #285221;
/* rgb */ color: rgb(40, 82, 33);
/* oklch */ color: oklch(39.5% 0.091 140.9);
Tailwind
colors: {
  custom: {
    50: '#66835e',
    500: '#285221',
    950: '#000000',
  },
}
SCSS
$custom: #285221;
$custom-light: #66835e;
$custom-dark: #000000;
JSON
{
  "hex": "#285221",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 33
  },
  "hsl": {
    "h": 111.429,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.39532,
    "c": 0.09059,
    "h": 140.9
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#285221
secondary
#7D4986
accent
#55D2C1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #285221

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

Preview Lab → · Contrast checker → · Palette generator →

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