#288B39#288B39

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

Color values

HEX#288B39
RGBrgb(40, 139, 57)
HSLhsl(130, 55%, 35%)
HSVhsv(130, 71%, 55%)
CMYKcmyk(71.2%, 0%, 59%, 45.5%)
CIE-LABlab(50.93, -45.99, 35.26)
CIE-LCHlch(50.93, 57.95, 142.52°)
OKLaboklab(56.17% -0.1241 0.0836)
OKLCHoklch(56.17% 0.15 146)
XYZxyz(10.8455, 19.2106, 7.0065)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B39 #8B287A
analogous
#498B28 #288B39 #288B6A
triadic
#288B39 #39288B #8B3928
tetradic
#288B39 #28498B #8B287A #8B6A28
square
#288B39 #28498B #8B287A #8B6A28
split-complementary
#288B39 #6A288B #8B2849
monochromatic
#0D2C12 #1A5B26 #288B39 #36BB4C #5DD071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B39#FFFFFF#000000##000000
##288B391.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)
#8D7E31
Deuteranopia (green-blind)
#81763F
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b39;
/* rgb */ color: rgb(40, 139, 57);
/* oklch */ color: oklch(56.2% 0.150 146.0);
Tailwind
colors: {
  custom: {
    50: '#70ae72',
    500: '#288b39',
    950: '#000000',
  },
}
SCSS
$custom: #288b39;
$custom-light: #70ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#288b39",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 57
  },
  "hsl": {
    "h": 130.303,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56167,
    "c": 0.14966,
    "h": 146
  },
  "luminance": 0.19212
}

Semantic roles & 50–950 ramp

primary
#288B39
secondary
#B659A6
accent
#49C5DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #288B39

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

Preview Lab → · Contrast checker → · Palette generator →

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