#288C21#288C21

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

Color values

HEX#288C21
RGBrgb(40, 140, 33)
HSLhsl(116, 62%, 34%)
HSVhsv(116, 76%, 55%)
CMYKcmyk(71.4%, 0%, 76.4%, 45.1%)
CIE-LABlab(51.05, -48.91, 45.89)
CIE-LCHlch(51.05, 67.07, 136.82°)
OKLaboklab(56.2% -0.1331 0.1035)
OKLCHoklch(56.2% 0.169 142.1)
XYZxyz(10.5271, 19.3160, 4.6121)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C21 #85218C
analogous
#5E8C21 #288C21 #218C50
triadic
#288C21 #21288C #8C2128
tetradic
#288C21 #215E8C #85218C #8C5021
square
#288C21 #215E8C #85218C #8C5021
split-complementary
#288C21 #50218C #8C215E
monochromatic
#0C290A #1A5A15 #288C21 #36BE2D #5AD651

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288C21#FFFFFF#000000##000000
##288C211.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)
#8F7E0B
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#0C8877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c21;
/* rgb */ color: rgb(40, 140, 33);
/* oklch */ color: oklch(56.2% 0.169 142.1);
Tailwind
colors: {
  custom: {
    50: '#72af64',
    500: '#288c21',
    950: '#000000',
  },
}
SCSS
$custom: #288c21;
$custom-light: #72af64;
$custom-dark: #000000;
JSON
{
  "hex": "#288c21",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 116.075,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56199,
    "c": 0.16863,
    "h": 142.1
  },
  "luminance": 0.19317
}

Semantic roles & 50–950 ramp

primary
#288C21
secondary
#B34FB9
accent
#43E5DA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288C21

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

Preview Lab → · Contrast checker → · Palette generator →

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