#288C4F#288C4F

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

Color values

HEX#288C4F
RGBrgb(40, 140, 79)
HSLhsl(143, 56%, 35%)
HSVhsv(143, 71%, 55%)
CMYKcmyk(71.4%, 0%, 43.6%, 45.1%)
CIE-LABlab(51.58, -42.81, 24.52)
CIE-LCHlch(51.58, 49.34, 150.20°)
OKLaboklab(56.8% -0.1154 0.0606)
OKLCHoklch(56.8% 0.13 152.3)
XYZxyz(11.6634, 19.7705, 10.5970)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C4F #8C2865
analogous
#338C28 #288C4F #288C81
triadic
#288C4F #4F288C #8C4F28
tetradic
#288C4F #28338C #8C2865 #8C8128
square
#288C4F #28338C #8C2865 #8C8128
split-complementary
#288C4F #81288C #8C2833
monochromatic
#0D2D19 #1A5C34 #288C4F #36BC6A #5ED18B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288C4F#FFFFFF#000000##000000
##288C4F1.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)
#8C804B
Deuteranopia (green-blind)
#807753
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288c4f;
/* rgb */ color: rgb(40, 140, 79);
/* oklch */ color: oklch(56.8% 0.130 152.3);
Tailwind
colors: {
  custom: {
    50: '#70ae81',
    500: '#288c4f',
    950: '#000000',
  },
}
SCSS
$custom: #288c4f;
$custom-light: #70ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#288c4f",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 79
  },
  "hsl": {
    "h": 143.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.568,
    "c": 0.13037,
    "h": 152.3
  },
  "luminance": 0.19772
}

Semantic roles & 50–950 ramp

primary
#288C4F
secondary
#B65A92
accent
#49A4DF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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