#288B37#288B37

#288B37 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.151 H 145.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#288B37
RGBrgb(40, 139, 55)
HSLhsl(129, 55%, 35%)
HSVhsv(129, 71%, 55%)
CMYKcmyk(71.2%, 0%, 60.4%, 45.5%)
CIE-LABlab(50.91, -46.25, 36.21)
CIE-LCHlch(50.91, 58.74, 141.94°)
OKLaboklab(56.14% -0.1249 0.0856)
OKLCHoklch(56.14% 0.151 145.6)
XYZxyz(10.7965, 19.1910, 6.7489)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B37 #8B287C
analogous
#4A8B28 #288B37 #288B68
triadic
#288B37 #37288B #8B3728
tetradic
#288B37 #284A8B #8B287C #8B6828
square
#288B37 #284A8B #8B287C #8B6828
split-complementary
#288B37 #68288B #8B284A
monochromatic
#0D2C11 #1A5B24 #288B37 #36BB4A #5DD06E

Accessibility & contrast

On white

4.34
#288B37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#288B37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B37
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B37#FFFFFF#000000##000000
##288B371.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2E
Deuteranopia (green-blind)
#81763E
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b37;
/* rgb */ color: rgb(40, 139, 55);
/* oklch */ color: oklch(56.1% 0.151 145.6);
Tailwind
colors: {
  custom: {
    50: '#70ae71',
    500: '#288b37',
    950: '#000000',
  },
}
SCSS
$custom: #288b37;
$custom-light: #70ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#288b37",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 55
  },
  "hsl": {
    "h": 129.091,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.15139,
    "h": 145.6
  },
  "luminance": 0.19192
}

Semantic roles & 50–950 ramp

primary
#288B37
secondary
#B659A8
accent
#49C8DF
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #288B37

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

Preview Lab → · Contrast checker → · Palette generator →

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