#288A21#288A21

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

Color values

HEX#288A21
RGBrgb(40, 138, 33)
HSLhsl(116, 61%, 34%)
HSVhsv(116, 76%, 54%)
CMYKcmyk(71%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.38, -48.21, 45.22)
CIE-LCHlch(50.38, 66.10, 136.84°)
OKLaboklab(55.64% -0.1313 0.1021)
OKLCHoklch(55.64% 0.166 142.1)
XYZxyz(10.2375, 18.7368, 4.5156)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A21 #83218A
analogous
#5C8A21 #288A21 #218A4E
triadic
#288A21 #21288A #8A2128
tetradic
#288A21 #215C8A #83218A #8A4E21
square
#288A21 #215C8A #83218A #8A4E21
split-complementary
#288A21 #4E218A #8A215C
monochromatic
#0B2709 #1A5915 #288A21 #36BB2D #59D550

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288A21#FFFFFF#000000##000000
##288A211.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)
#8D7D0C
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#0E8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a21;
/* rgb */ color: rgb(40, 138, 33);
/* oklch */ color: oklch(55.6% 0.166 142.1);
Tailwind
colors: {
  custom: {
    50: '#71ad64',
    500: '#288a21',
    950: '#000000',
  },
}
SCSS
$custom: #288a21;
$custom-light: #71ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#288a21",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 116,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.16628,
    "h": 142.1
  },
  "luminance": 0.18738
}

Semantic roles & 50–950 ramp

primary
#288A21
secondary
#B14EB9
accent
#43E5DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288A21

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

Preview Lab → · Contrast checker → · Palette generator →

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