#288E45#288E45

#288E45 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.143 H 148.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#288E45
RGBrgb(40, 142, 69)
HSLhsl(137, 56%, 36%)
HSVhsv(137, 72%, 56%)
CMYKcmyk(71.8%, 0%, 51.4%, 44.3%)
CIE-LABlab(52.09, -45.33, 30.53)
CIE-LCHlch(52.09, 54.66, 146.04°)
OKLaboklab(57.17% -0.1221 0.074)
OKLCHoklch(57.17% 0.143 148.8)
XYZxyz(11.6214, 20.2255, 8.9205)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E45 #8E2871
analogous
#3E8E28 #288E45 #288E78
triadic
#288E45 #45288E #8E4528
tetradic
#288E45 #283E8E #8E2871 #8E7828
square
#288E45 #283E8E #8E2871 #8E7828
split-complementary
#288E45 #78288E #8E283E
monochromatic
#0D2F17 #1B5E2E #288E45 #35BE5C #5FD27F

Accessibility & contrast

On white

4.16
#288E45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#288E45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E45
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E45#FFFFFF#000000##000000
##288E451.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813F
Deuteranopia (green-blind)
#83794A
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288e45;
/* rgb */ color: rgb(40, 142, 69);
/* oklch */ color: oklch(57.2% 0.143 148.8);
Tailwind
colors: {
  custom: {
    50: '#71b07a',
    500: '#288e45',
    950: '#000000',
  },
}
SCSS
$custom: #288e45;
$custom-light: #71b07a;
$custom-dark: #000000;
JSON
{
  "hex": "#288e45",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 69
  },
  "hsl": {
    "h": 137.059,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57174,
    "c": 0.14274,
    "h": 148.8
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

primary
#288E45
secondary
#B75B9D
accent
#48B4DF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091109
muted
#7B807B

Preview Lab

Preview with #288E45

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

Preview Lab → · Contrast checker → · Palette generator →

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