#288221#288221

#288221 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.157 H 142.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288221
RGBrgb(40, 130, 33)
HSLhsl(116, 60%, 32%)
HSVhsv(116, 75%, 51%)
CMYKcmyk(69.2%, 0%, 74.6%, 49%)
CIE-LABlab(47.66, -45.38, 42.46)
CIE-LCHlch(47.66, 62.15, 136.90°)
OKLaboklab(53.38% -0.1236 0.0963)
OKLCHoklch(53.38% 0.157 142.1)
XYZxyz(9.1317, 16.5252, 4.1470)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288221 #7B2182
analogous
#598221 #288221 #21824B
triadic
#288221 #212882 #822128
tetradic
#288221 #215982 #7B2182 #824B21
square
#288221 #215982 #7B2182 #824B21
split-complementary
#288221 #4B2182 #822159
monochromatic
#0A2008 #195115 #288221 #37B32D #56D24C

Accessibility & contrast

On white

4.88
#288221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#288221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288221
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288221#FFFFFF#000000##FFFFFF
##2882211.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857510
Deuteranopia (green-blind)
#7B6E2B
Tritanopia (blue-blind)
#147E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288221;
/* rgb */ color: rgb(40, 130, 33);
/* oklch */ color: oklch(53.4% 0.157 142.1);
Tailwind
colors: {
  custom: {
    50: '#70a763',
    500: '#288221',
    950: '#000000',
  },
}
SCSS
$custom: #288221;
$custom-light: #70a763;
$custom-dark: #000000;
JSON
{
  "hex": "#288221",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 115.67,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53381,
    "c": 0.15668,
    "h": 142.1
  },
  "luminance": 0.16526
}

Semantic roles & 50–950 ramp

primary
#288221
secondary
#AD4AB4
accent
#45E3D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #288221

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

Preview Lab → · Contrast checker → · Palette generator →

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