#288B4A#288B4A

#288B4A is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.134 H 150.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288B4A
RGBrgb(40, 139, 74)
HSLhsl(141, 55%, 35%)
HSVhsv(141, 71%, 55%)
CMYKcmyk(71.2%, 0%, 46.8%, 45.5%)
CIE-LABlab(51.16, -43.33, 26.70)
CIE-LCHlch(51.16, 50.90, 148.36°)
OKLaboklab(56.43% -0.1167 0.0655)
OKLCHoklch(56.43% 0.134 150.7)
XYZxyz(11.3428, 19.4095, 9.6259)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B4A #8B2869
analogous
#388B28 #288B4A #288B7B
triadic
#288B4A #4A288B #8B4A28
tetradic
#288B4A #28388B #8B2869 #8B7B28
square
#288B4A #28388B #8B2869 #8B7B28
split-complementary
#288B4A #7B288B #8B2838
monochromatic
#0D2C17 #1A5B31 #288B4A #36BB63 #5DD085

Accessibility & contrast

On white

4.30
#288B4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#288B4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B4A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B4A#FFFFFF#000000##000000
##288B4A1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F45
Deuteranopia (green-blind)
#80774F
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b4a;
/* rgb */ color: rgb(40, 139, 74);
/* oklch */ color: oklch(56.4% 0.134 150.7);
Tailwind
colors: {
  custom: {
    50: '#70ae7d',
    500: '#288b4a',
    950: '#000000',
  },
}
SCSS
$custom: #288b4a;
$custom-light: #70ae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#288b4a",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 74
  },
  "hsl": {
    "h": 140.606,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.13384,
    "h": 150.7
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#288B4A
secondary
#B65996
accent
#49ABDF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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