#288F3C#288F3C

#288F3C is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.152 H 146.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#288F3C
RGBrgb(40, 143, 60)
HSLhsl(132, 56%, 36%)
HSVhsv(132, 72%, 56%)
CMYKcmyk(72%, 0%, 58%, 43.9%)
CIE-LABlab(52.31, -47.05, 35.40)
CIE-LCHlch(52.31, 58.88, 143.05°)
OKLaboklab(57.32% -0.1269 0.0842)
OKLCHoklch(57.32% 0.152 146.4)
XYZxyz(11.5123, 20.4210, 7.6090)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F3C #8F287B
analogous
#488F28 #288F3C #288F6F
triadic
#288F3C #3C288F #8F3C28
tetradic
#288F3C #28488F #8F287B #8F6F28
square
#288F3C #28488F #8F287B #8F6F28
split-complementary
#288F3C #6F288F #8F2848
monochromatic
#0D2F14 #1B5F28 #288F3C #35BF50 #5FD275

Accessibility & contrast

On white

4.13
#288F3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#288F3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F3C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F3C#FFFFFF#000000##000000
##288F3C1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918234
Deuteranopia (green-blind)
#857943
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f3c;
/* rgb */ color: rgb(40, 143, 60);
/* oklch */ color: oklch(57.3% 0.152 146.4);
Tailwind
colors: {
  custom: {
    50: '#71b174',
    500: '#288f3c',
    950: '#000000',
  },
}
SCSS
$custom: #288f3c;
$custom-light: #71b174;
$custom-dark: #000000;
JSON
{
  "hex": "#288f3c",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 60
  },
  "hsl": {
    "h": 131.65,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.15227,
    "h": 146.4
  },
  "luminance": 0.20422
}

Semantic roles & 50–950 ramp

primary
#288F3C
secondary
#B85BA6
accent
#48C2E0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #288F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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