#288E28#288E28

#288E28 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.167 H 143.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#288E28
RGBrgb(40, 142, 40)
HSLhsl(120, 56%, 36%)
HSVhsv(120, 72%, 56%)
CMYKcmyk(71.8%, 0%, 71.8%, 44.3%)
CIE-LABlab(51.78, -49.01, 43.92)
CIE-LCHlch(51.78, 65.81, 138.13°)
OKLaboklab(56.82% -0.133 0.1003)
OKLCHoklch(56.82% 0.167 143)
XYZxyz(10.9304, 19.9491, 5.2816)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E28 #8E288E
analogous
#5B8E28 #288E28 #288E5B
triadic
#288E28 #28288E #8E2828
tetradic
#288E28 #285B8E #8E288E #8E5B28
square
#288E28 #285B8E #8E288E #8E5B28
split-complementary
#288E28 #5B288E #8E285B
monochromatic
#0D2F0D #1B5E1B #288E28 #35BE35 #5FD25F

Accessibility & contrast

On white

4.21
#288E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#288E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E28
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E28#FFFFFF#000000##000000
##288E281.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#078A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e28;
/* rgb */ color: rgb(40, 142, 40);
/* oklch */ color: oklch(56.8% 0.167 143.0);
Tailwind
colors: {
  custom: {
    50: '#72b068',
    500: '#288e28',
    950: '#000000',
  },
}
SCSS
$custom: #288e28;
$custom-light: #72b068;
$custom-dark: #000000;
JSON
{
  "hex": "#288e28",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56816,
    "c": 0.16662,
    "h": 143
  },
  "luminance": 0.1995
}

Semantic roles & 50–950 ramp

primary
#288E28
secondary
#B75BB7
accent
#48DFDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288E28

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

Preview Lab → · Contrast checker → · Palette generator →

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