#288E36#288E36

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

Color values

HEX#288E36
RGBrgb(40, 142, 54)
HSLhsl(128, 56%, 36%)
HSVhsv(128, 72%, 56%)
CMYKcmyk(71.8%, 0%, 62%, 44.3%)
CIE-LABlab(51.91, -47.48, 37.85)
CIE-LCHlch(51.91, 60.72, 141.44°)
OKLaboklab(56.96% -0.1282 0.089)
OKLCHoklch(56.96% 0.156 145.2)
XYZxyz(11.2132, 20.0622, 6.7708)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E36 #8E2880
analogous
#4D8E28 #288E36 #288E69
triadic
#288E36 #36288E #8E3628
tetradic
#288E36 #284D8E #8E2880 #8E6928
square
#288E36 #284D8E #8E2880 #8E6928
split-complementary
#288E36 #69288E #8E284D
monochromatic
#0D2F12 #1B5E24 #288E36 #35BE48 #5FD26E

Accessibility & contrast

On white

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

On black

5.01
#288E36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E36
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E36#FFFFFF#000000##000000
##288E361.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288e36;
/* rgb */ color: rgb(40, 142, 54);
/* oklch */ color: oklch(57.0% 0.156 145.2);
Tailwind
colors: {
  custom: {
    50: '#71b070',
    500: '#288e36',
    950: '#000000',
  },
}
SCSS
$custom: #288e36;
$custom-light: #71b070;
$custom-dark: #000000;
JSON
{
  "hex": "#288e36",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 54
  },
  "hsl": {
    "h": 128.235,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.15609,
    "h": 145.2
  },
  "luminance": 0.20063
}

Semantic roles & 50–950 ramp

primary
#288E36
secondary
#B75BAB
accent
#48CBDF
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091108
muted
#7B807B

Preview Lab

Preview with #288E36

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

Preview Lab → · Contrast checker → · Palette generator →

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