#288A20#288A20

#288A20 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.167 H 142.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#288A20
RGBrgb(40, 138, 32)
HSLhsl(115, 62%, 33%)
HSVhsv(115, 77%, 54%)
CMYKcmyk(71%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.37, -48.29, 45.58)
CIE-LCHlch(50.37, 66.41, 136.66°)
OKLaboklab(55.63% -0.1315 0.1027)
OKLCHoklch(55.63% 0.167 142)
XYZxyz(10.2237, 18.7313, 4.4429)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A20 #82208A
analogous
#5D8A20 #288A20 #208A4D
triadic
#288A20 #20288A #8A2028
tetradic
#288A20 #205D8A #82208A #8A4D20
square
#288A20 #205D8A #82208A #8A4D20
split-complementary
#288A20 #4D208A #8A205D
monochromatic
#0B2709 #1A5814 #288A20 #36BC2C #59D64E

Accessibility & contrast

On white

4.42
#288A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#288A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A20
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A20#FFFFFF#000000##000000
##288A201.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0A
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#0E8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a20;
/* rgb */ color: rgb(40, 138, 32);
/* oklch */ color: oklch(55.6% 0.167 142.0);
Tailwind
colors: {
  custom: {
    50: '#71ad63',
    500: '#288a20',
    950: '#000000',
  },
}
SCSS
$custom: #288a20;
$custom-light: #71ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#288a20",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 115.472,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5563,
    "c": 0.16687,
    "h": 142
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

primary
#288A20
secondary
#B14DB9
accent
#42E5D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288A20

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

Preview Lab → · Contrast checker → · Palette generator →

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