#288E35#288E35

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

Color values

HEX#288E35
RGBrgb(40, 142, 53)
HSLhsl(128, 56%, 36%)
HSVhsv(128, 72%, 56%)
CMYKcmyk(71.8%, 0%, 62.7%, 44.3%)
CIE-LABlab(51.90, -47.60, 38.31)
CIE-LCHlch(51.90, 61.10, 141.17°)
OKLaboklab(56.95% -0.1286 0.0899)
OKLCHoklch(56.95% 0.157 145.1)
XYZxyz(11.1899, 20.0529, 6.6483)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E35 #8E2881
analogous
#4E8E28 #288E35 #288E68
triadic
#288E35 #35288E #8E3528
tetradic
#288E35 #284E8E #8E2881 #8E6828
square
#288E35 #284E8E #8E2881 #8E6828
split-complementary
#288E35 #68288E #8E284E
monochromatic
#0D2F11 #1B5E23 #288E35 #35BE47 #5FD26D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E35#FFFFFF#000000##000000
##288E351.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)
#90812B
Deuteranopia (green-blind)
#84793C
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288e35;
/* rgb */ color: rgb(40, 142, 53);
/* oklch */ color: oklch(57.0% 0.157 145.1);
Tailwind
colors: {
  custom: {
    50: '#71b070',
    500: '#288e35',
    950: '#000000',
  },
}
SCSS
$custom: #288e35;
$custom-light: #71b070;
$custom-dark: #000000;
JSON
{
  "hex": "#288e35",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 53
  },
  "hsl": {
    "h": 127.647,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56951,
    "c": 0.15692,
    "h": 145.1
  },
  "luminance": 0.20054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288E35

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

Preview Lab → · Contrast checker → · Palette generator →

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