#288C20#288C20

#288C20 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.169 H 142.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#288C20
RGBrgb(40, 140, 32)
HSLhsl(116, 63%, 34%)
HSVhsv(116, 77%, 55%)
CMYKcmyk(71.4%, 0%, 77.1%, 45.1%)
CIE-LABlab(51.05, -48.99, 46.25)
CIE-LCHlch(51.05, 67.37, 136.65°)
OKLaboklab(56.19% -0.1334 0.1041)
OKLCHoklch(56.19% 0.169 142)
XYZxyz(10.5133, 19.3104, 4.5394)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C20 #84208C
analogous
#5E8C20 #288C20 #208C4E
triadic
#288C20 #20288C #8C2028
tetradic
#288C20 #205E8C #84208C #8C4E20
square
#288C20 #205E8C #84208C #8C4E20
split-complementary
#288C20 #4E208C #8C205E
monochromatic
#0C2809 #1A5A15 #288C20 #36BE2B #5AD750

Accessibility & contrast

On white

4.32
#288C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#288C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C20
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C20#FFFFFF#000000##000000
##288C201.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#0D8877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c20;
/* rgb */ color: rgb(40, 140, 32);
/* oklch */ color: oklch(56.2% 0.169 142.0);
Tailwind
colors: {
  custom: {
    50: '#72af64',
    500: '#288c20',
    950: '#000000',
  },
}
SCSS
$custom: #288c20;
$custom-light: #72af64;
$custom-dark: #000000;
JSON
{
  "hex": "#288c20",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 115.556,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56191,
    "c": 0.16921,
    "h": 142
  },
  "luminance": 0.19312
}

Semantic roles & 50–950 ramp

primary
#288C20
secondary
#B24EBA
accent
#42E6DA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288C20

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

Preview Lab → · Contrast checker → · Palette generator →

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