#288C4A#288C4A

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

Color values

HEX#288C4A
RGBrgb(40, 140, 74)
HSLhsl(140, 56%, 35%)
HSVhsv(140, 71%, 55%)
CMYKcmyk(71.4%, 0%, 47.1%, 45.1%)
CIE-LABlab(51.50, -43.72, 27.13)
CIE-LCHlch(51.50, 51.45, 148.18°)
OKLaboklab(56.71% -0.1177 0.0665)
OKLCHoklch(56.71% 0.135 150.5)
XYZxyz(11.4883, 19.7004, 9.6744)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C4A #8C286A
analogous
#388C28 #288C4A #288C7C
triadic
#288C4A #4A288C #8C4A28
tetradic
#288C4A #28388C #8C286A #8C7C28
square
#288C4A #28388C #8C286A #8C7C28
split-complementary
#288C4A #7C288C #8C2838
monochromatic
#0D2D18 #1A5C31 #288C4A #36BC63 #5ED185

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288C4A#FFFFFF#000000##000000
##288C4A1.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)
#8D8045
Deuteranopia (green-blind)
#81774F
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288c4a;
/* rgb */ color: rgb(40, 140, 74);
/* oklch */ color: oklch(56.7% 0.135 150.5);
Tailwind
colors: {
  custom: {
    50: '#70ae7d',
    500: '#288c4a',
    950: '#000000',
  },
}
SCSS
$custom: #288c4a;
$custom-light: #70ae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#288c4a",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 74
  },
  "hsl": {
    "h": 140.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56707,
    "c": 0.13523,
    "h": 150.5
  },
  "luminance": 0.19702
}

Semantic roles & 50–950 ramp

primary
#288C4A
secondary
#B65A97
accent
#49ACDF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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