#288C32#288C32

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

Color values

HEX#288C32
RGBrgb(40, 140, 50)
HSLhsl(126, 56%, 35%)
HSVhsv(126, 71%, 55%)
CMYKcmyk(71.4%, 0%, 64.3%, 45.1%)
CIE-LABlab(51.19, -47.24, 38.92)
CIE-LCHlch(51.19, 61.21, 140.52°)
OKLaboklab(56.36% -0.1278 0.0909)
OKLCHoklch(56.36% 0.157 144.6)
XYZxyz(10.8282, 19.4364, 6.1979)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C32 #8C2882
analogous
#508C28 #288C32 #288C64
triadic
#288C32 #32288C #8C3228
tetradic
#288C32 #28508C #8C2882 #8C6428
square
#288C32 #28508C #8C2882 #8C6428
split-complementary
#288C32 #64288C #8C2850
monochromatic
#0D2D10 #1A5C21 #288C32 #36BC43 #5ED169

Accessibility & contrast

On white

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

On black

4.89
#288C32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C32
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C32#FFFFFF#000000##000000
##288C321.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F28
Deuteranopia (green-blind)
#83773A
Tritanopia (blue-blind)
#038879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c32;
/* rgb */ color: rgb(40, 140, 50);
/* oklch */ color: oklch(56.4% 0.157 144.6);
Tailwind
colors: {
  custom: {
    50: '#71af6e',
    500: '#288c32',
    950: '#000000',
  },
}
SCSS
$custom: #288c32;
$custom-light: #71af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#288c32",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 50
  },
  "hsl": {
    "h": 126,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56359,
    "c": 0.15681,
    "h": 144.6
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288C32

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

Preview Lab → · Contrast checker → · Palette generator →

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