#288E31#288E31

#288E31 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.160 H 144.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#288E31
RGBrgb(40, 142, 49)
HSLhsl(125, 56%, 36%)
HSVhsv(125, 72%, 56%)
CMYKcmyk(71.8%, 0%, 65.5%, 44.3%)
CIE-LABlab(51.86, -48.08, 40.12)
CIE-LCHlch(51.86, 62.62, 140.16°)
OKLaboklab(56.9% -0.1301 0.0933)
OKLCHoklch(56.9% 0.16 144.3)
XYZxyz(11.1017, 20.0177, 6.1839)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E31 #8E2885
analogous
#528E28 #288E31 #288E64
triadic
#288E31 #31288E #8E3128
tetradic
#288E31 #28528E #8E2885 #8E6428
square
#288E31 #28528E #8E2885 #8E6428
split-complementary
#288E31 #64288E #8E2852
monochromatic
#0D2F10 #1B5E21 #288E31 #35BE41 #5FD269

Accessibility & contrast

On white

4.20
#288E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#288E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E31
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E31#FFFFFF#000000##000000
##288E311.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#857839
Tritanopia (blue-blind)
#018A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288e31;
/* rgb */ color: rgb(40, 142, 49);
/* oklch */ color: oklch(56.9% 0.160 144.3);
Tailwind
colors: {
  custom: {
    50: '#71b06d',
    500: '#288e31',
    950: '#000000',
  },
}
SCSS
$custom: #288e31;
$custom-light: #71b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#288e31",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 125.294,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.16011,
    "h": 144.3
  },
  "luminance": 0.20019
}

Semantic roles & 50–950 ramp

primary
#288E31
secondary
#B75BAF
accent
#48D2DF
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #288E31

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

Preview Lab → · Contrast checker → · Palette generator →

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