#288C4D#288C4D

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

Color values

HEX#288C4D
RGBrgb(40, 140, 77)
HSLhsl(142, 56%, 35%)
HSVhsv(142, 71%, 55%)
CMYKcmyk(71.4%, 0%, 45%, 45.1%)
CIE-LABlab(51.54, -43.18, 25.56)
CIE-LCHlch(51.54, 50.18, 149.37°)
OKLaboklab(56.76% -0.1163 0.063)
OKLCHoklch(56.76% 0.132 151.6)
XYZxyz(11.5917, 19.7418, 10.2194)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C4D #8C2867
analogous
#358C28 #288C4D #288C7F
triadic
#288C4D #4D288C #8C4D28
tetradic
#288C4D #28358C #8C2867 #8C7F28
square
#288C4D #28358C #8C2867 #8C7F28
split-complementary
#288C4D #7F288C #8C2835
monochromatic
#0D2D19 #1A5C33 #288C4D #36BC67 #5ED188

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288C4D#FFFFFF#000000##000000
##288C4D1.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)
#8C8048
Deuteranopia (green-blind)
#807751
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288c4d;
/* rgb */ color: rgb(40, 140, 77);
/* oklch */ color: oklch(56.8% 0.132 151.6);
Tailwind
colors: {
  custom: {
    50: '#70ae7f',
    500: '#288c4d',
    950: '#000000',
  },
}
SCSS
$custom: #288c4d;
$custom-light: #70ae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#288c4d",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 77
  },
  "hsl": {
    "h": 142.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56762,
    "c": 0.13232,
    "h": 151.6
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#288C4D
secondary
#B65A94
accent
#49A7DF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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