#288C4B#288C4B

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

Color values

HEX#288C4B
RGBrgb(40, 140, 75)
HSLhsl(141, 56%, 35%)
HSVhsv(141, 71%, 55%)
CMYKcmyk(71.4%, 0%, 46.4%, 45.1%)
CIE-LABlab(51.51, -43.54, 26.61)
CIE-LCHlch(51.51, 51.03, 148.57°)
OKLaboklab(56.73% -0.1173 0.0654)
OKLCHoklch(56.73% 0.134 150.9)
XYZxyz(11.5222, 19.7140, 9.8532)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C4B #8C2869
analogous
#378C28 #288C4B #288C7D
triadic
#288C4B #4B288C #8C4B28
tetradic
#288C4B #28378C #8C2869 #8C7D28
square
#288C4B #28378C #8C2869 #8C7D28
split-complementary
#288C4B #7D288C #8C2837
monochromatic
#0D2D18 #1A5C31 #288C4B #36BC64 #5ED186

Accessibility & contrast

On white

4.25
#288C4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#288C4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C4B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C4B#FFFFFF#000000##000000
##288C4B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8046
Deuteranopia (green-blind)
#80774F
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288c4b;
/* rgb */ color: rgb(40, 140, 75);
/* oklch */ color: oklch(56.7% 0.134 150.9);
Tailwind
colors: {
  custom: {
    50: '#70ae7e',
    500: '#288c4b',
    950: '#000000',
  },
}
SCSS
$custom: #288c4b;
$custom-light: #70ae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#288c4b",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 75
  },
  "hsl": {
    "h": 141,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.13426,
    "h": 150.9
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

primary
#288C4B
secondary
#B65A96
accent
#49AADF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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