#288E34#288E34

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

Color values

HEX#288E34
RGBrgb(40, 142, 52)
HSLhsl(127, 56%, 36%)
HSVhsv(127, 72%, 56%)
CMYKcmyk(71.8%, 0%, 63.4%, 44.3%)
CIE-LABlab(51.89, -47.72, 38.77)
CIE-LCHlch(51.89, 61.49, 140.91°)
OKLaboklab(56.94% -0.129 0.0908)
OKLCHoklch(56.94% 0.158 144.9)
XYZxyz(11.1672, 20.0438, 6.5285)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E34 #8E2882
analogous
#4F8E28 #288E34 #288E67
triadic
#288E34 #34288E #8E3428
tetradic
#288E34 #284F8E #8E2882 #8E6728
square
#288E34 #284F8E #8E2882 #8E6728
split-complementary
#288E34 #67288E #8E284F
monochromatic
#0D2F11 #1B5E23 #288E34 #35BE45 #5FD26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E34#FFFFFF#000000##000000
##288E341.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)
#90812A
Deuteranopia (green-blind)
#85783C
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288e34;
/* rgb */ color: rgb(40, 142, 52);
/* oklch */ color: oklch(56.9% 0.158 144.9);
Tailwind
colors: {
  custom: {
    50: '#71b06f',
    500: '#288e34',
    950: '#000000',
  },
}
SCSS
$custom: #288e34;
$custom-light: #71b06f;
$custom-dark: #000000;
JSON
{
  "hex": "#288e34",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 52
  },
  "hsl": {
    "h": 127.059,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56939,
    "c": 0.15773,
    "h": 144.9
  },
  "luminance": 0.20045
}

Semantic roles & 50–950 ramp

primary
#288E34
secondary
#B75BAC
accent
#48CEDF
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #288E34

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

Preview Lab → · Contrast checker → · Palette generator →

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