#288D34#288D34

#288D34 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.156 H 144.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#288D34
RGBrgb(40, 141, 52)
HSLhsl(127, 56%, 35%)
HSVhsv(127, 72%, 55%)
CMYKcmyk(71.6%, 0%, 63.1%, 44.7%)
CIE-LABlab(51.55, -47.36, 38.39)
CIE-LCHlch(51.55, 60.96, 140.98°)
OKLaboklab(56.66% -0.128 0.09)
OKLCHoklch(56.66% 0.156 144.9)
XYZxyz(11.0191, 19.7476, 6.4791)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D34 #8D2881
analogous
#4E8D28 #288D34 #288D66
triadic
#288D34 #34288D #8D3428
tetradic
#288D34 #284E8D #8D2881 #8D6628
square
#288D34 #284E8D #8D2881 #8D6628
split-complementary
#288D34 #66288D #8D284E
monochromatic
#0D2E11 #1A5D22 #288D34 #36BD46 #5ED16C

Accessibility & contrast

On white

4.24
#288D34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#288D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D34
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D34#FFFFFF#000000##000000
##288D341.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802A
Deuteranopia (green-blind)
#84783C
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d34;
/* rgb */ color: rgb(40, 141, 52);
/* oklch */ color: oklch(56.7% 0.156 144.9);
Tailwind
colors: {
  custom: {
    50: '#71af6f',
    500: '#288d34',
    950: '#000000',
  },
}
SCSS
$custom: #288d34;
$custom-light: #71af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#288d34",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 52
  },
  "hsl": {
    "h": 127.129,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56661,
    "c": 0.15646,
    "h": 144.9
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#288D34
secondary
#B75AAC
accent
#49CDDF
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288D34

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

Preview Lab → · Contrast checker → · Palette generator →

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