#288B32#288B32

#288B32 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.156 H 144.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#288B32
RGBrgb(40, 139, 50)
HSLhsl(126, 55%, 35%)
HSVhsv(126, 71%, 55%)
CMYKcmyk(71.2%, 0%, 64%, 45.5%)
CIE-LABlab(50.86, -46.88, 38.54)
CIE-LCHlch(50.86, 60.69, 140.58°)
OKLaboklab(56.08% -0.1268 0.0901)
OKLCHoklch(56.08% 0.156 144.6)
XYZxyz(10.6827, 19.1455, 6.1495)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B32 #8B2881
analogous
#4F8B28 #288B32 #288B64
triadic
#288B32 #32288B #8B3228
tetradic
#288B32 #284F8B #8B2881 #8B6428
square
#288B32 #284F8B #8B2881 #8B6428
split-complementary
#288B32 #64288B #8B284F
monochromatic
#0D2C10 #1A5B21 #288B32 #36BB43 #5DD069

Accessibility & contrast

On white

4.35
#288B32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#288B32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B32
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B32#FFFFFF#000000##000000
##288B321.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E28
Deuteranopia (green-blind)
#82763A
Tritanopia (blue-blind)
#048778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b32;
/* rgb */ color: rgb(40, 139, 50);
/* oklch */ color: oklch(56.1% 0.156 144.6);
Tailwind
colors: {
  custom: {
    50: '#71ae6d',
    500: '#288b32',
    950: '#000000',
  },
}
SCSS
$custom: #288b32;
$custom-light: #71ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#288b32",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 50
  },
  "hsl": {
    "h": 126.061,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5608,
    "c": 0.15553,
    "h": 144.6
  },
  "luminance": 0.19147
}

Semantic roles & 50–950 ramp

primary
#288B32
secondary
#B659AC
accent
#49D0DF
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288B32

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

Preview Lab → · Contrast checker → · Palette generator →

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