#288E38#288E38

#288E38 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.154 H 145.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#288E38
RGBrgb(40, 142, 56)
HSLhsl(129, 56%, 36%)
HSVhsv(129, 72%, 56%)
CMYKcmyk(71.8%, 0%, 60.6%, 44.3%)
CIE-LABlab(51.93, -47.22, 36.91)
CIE-LCHlch(51.93, 59.94, 141.99°)
OKLaboklab(56.99% -0.1275 0.0871)
OKLCHoklch(56.99% 0.154 145.6)
XYZxyz(11.2611, 20.0814, 7.0232)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E38 #8E287E
analogous
#4B8E28 #288E38 #288E6B
triadic
#288E38 #38288E #8E3828
tetradic
#288E38 #284B8E #8E287E #8E6B28
square
#288E38 #284B8E #8E287E #8E6B28
split-complementary
#288E38 #6B288E #8E284B
monochromatic
#0D2F12 #1B5E25 #288E38 #35BE4B #5FD271

Accessibility & contrast

On white

4.19
#288E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#288E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E38
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E38#FFFFFF#000000##000000
##288E381.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812F
Deuteranopia (green-blind)
#84793F
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288e38;
/* rgb */ color: rgb(40, 142, 56);
/* oklch */ color: oklch(57.0% 0.154 145.6);
Tailwind
colors: {
  custom: {
    50: '#71b071',
    500: '#288e38',
    950: '#000000',
  },
}
SCSS
$custom: #288e38;
$custom-light: #71b071;
$custom-dark: #000000;
JSON
{
  "hex": "#288e38",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 56
  },
  "hsl": {
    "h": 129.412,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56988,
    "c": 0.15442,
    "h": 145.6
  },
  "luminance": 0.20083
}

Semantic roles & 50–950 ramp

primary
#288E38
secondary
#B75BA9
accent
#48C8DF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091108
muted
#7B807B

Preview Lab

Preview with #288E38

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

Preview Lab → · Contrast checker → · Palette generator →

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