#288F32#288F32

#288F32 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.161 H 144.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#288F32
RGBrgb(40, 143, 50)
HSLhsl(126, 56%, 36%)
HSVhsv(126, 72%, 56%)
CMYKcmyk(72%, 0%, 65%, 43.9%)
CIE-LABlab(52.20, -48.32, 40.05)
CIE-LCHlch(52.20, 62.76, 140.35°)
OKLaboklab(57.19% -0.1307 0.0933)
OKLCHoklch(57.19% 0.161 144.5)
XYZxyz(11.2725, 20.3251, 6.3461)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F32 #8F2885
analogous
#518F28 #288F32 #288F65
triadic
#288F32 #32288F #8F3228
tetradic
#288F32 #28518F #8F2885 #8F6528
square
#288F32 #28518F #8F2885 #8F6528
split-complementary
#288F32 #65288F #8F2851
monochromatic
#0D2F11 #1B5F21 #288F32 #35BF43 #5FD26A

Accessibility & contrast

On white

4.15
#288F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#288F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F32
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F32#FFFFFF#000000##000000
##288F321.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928227
Deuteranopia (green-blind)
#86793A
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f32;
/* rgb */ color: rgb(40, 143, 50);
/* oklch */ color: oklch(57.2% 0.161 144.5);
Tailwind
colors: {
  custom: {
    50: '#72b16e',
    500: '#288f32',
    950: '#000000',
  },
}
SCSS
$custom: #288f32;
$custom-light: #72b16e;
$custom-dark: #000000;
JSON
{
  "hex": "#288f32",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 125.825,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57194,
    "c": 0.16058,
    "h": 144.5
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

primary
#288F32
secondary
#B85BAF
accent
#48D1E0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #288F32

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

Preview Lab → · Contrast checker → · Palette generator →

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