#288F45#288F45

#288F45 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.144 H 148.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#288F45
RGBrgb(40, 143, 69)
HSLhsl(137, 56%, 36%)
HSVhsv(137, 72%, 56%)
CMYKcmyk(72%, 0%, 51.7%, 43.9%)
CIE-LABlab(52.42, -45.71, 30.95)
CIE-LCHlch(52.42, 55.20, 145.90°)
OKLaboklab(57.45% -0.1231 0.0749)
OKLCHoklch(57.45% 0.144 148.7)
XYZxyz(11.7708, 20.5244, 8.9703)
Luminance0.2053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F45 #8F2872
analogous
#3E8F28 #288F45 #288F78
triadic
#288F45 #45288F #8F4528
tetradic
#288F45 #283E8F #8F2872 #8F7828
square
#288F45 #283E8F #8F2872 #8F7828
split-complementary
#288F45 #78288F #8F283E
monochromatic
#0D2F17 #1B5F2E #288F45 #35BF5C #5FD280

Accessibility & contrast

On white

4.11
#288F45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#288F45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F45
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F45#FFFFFF#000000##000000
##288F451.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823F
Deuteranopia (green-blind)
#847A4A
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f45;
/* rgb */ color: rgb(40, 143, 69);
/* oklch */ color: oklch(57.5% 0.144 148.7);
Tailwind
colors: {
  custom: {
    50: '#71b17a',
    500: '#288f45',
    950: '#000000',
  },
}
SCSS
$custom: #288f45;
$custom-light: #71b17a;
$custom-dark: #000000;
JSON
{
  "hex": "#288f45",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 69
  },
  "hsl": {
    "h": 136.893,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5745,
    "c": 0.14409,
    "h": 148.7
  },
  "luminance": 0.20526
}

Semantic roles & 50–950 ramp

primary
#288F45
secondary
#B85B9E
accent
#48B5E0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #288F45

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

Preview Lab → · Contrast checker → · Palette generator →

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