#288F20#288F20

#288F20 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.173 H 142.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#288F20
RGBrgb(40, 143, 32)
HSLhsl(116, 63%, 34%)
HSVhsv(116, 78%, 56%)
CMYKcmyk(72%, 0%, 77.6%, 43.9%)
CIE-LABlab(52.06, -50.02, 47.25)
CIE-LCHlch(52.06, 68.81, 136.63°)
OKLaboklab(57.03% -0.1362 0.1062)
OKLCHoklch(57.03% 0.173 142.1)
XYZxyz(10.9576, 20.1991, 4.6876)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F20 #87208F
analogous
#608F20 #288F20 #208F50
triadic
#288F20 #20288F #8F2028
tetradic
#288F20 #20608F #87208F #8F5020
square
#288F20 #20608F #87208F #8F5020
split-complementary
#288F20 #50208F #8F2060
monochromatic
#0C2B0A #1A5D15 #288F20 #36C12B #5BD851

Accessibility & contrast

On white

4.17
#288F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#288F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F20
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F20#FFFFFF#000000##000000
##288F201.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#0A8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f20;
/* rgb */ color: rgb(40, 143, 32);
/* oklch */ color: oklch(57.0% 0.173 142.1);
Tailwind
colors: {
  custom: {
    50: '#73b164',
    500: '#288f20',
    950: '#000000',
  },
}
SCSS
$custom: #288f20;
$custom-light: #73b164;
$custom-dark: #000000;
JSON
{
  "hex": "#288f20",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 115.676,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57032,
    "c": 0.1727,
    "h": 142.1
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#288F20
secondary
#B44FBB
accent
#41E6DB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288F20

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

Preview Lab → · Contrast checker → · Palette generator →

#288F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva