#288F5B#288F5B

#288F5B is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.123 H 156.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#288F5B
RGBrgb(40, 143, 91)
HSLhsl(150, 56%, 36%)
HSVhsv(150, 72%, 56%)
CMYKcmyk(72%, 0%, 36.4%, 43.9%)
CIE-LABlab(52.78, -41.64, 19.47)
CIE-LCHlch(52.78, 45.97, 154.94°)
OKLaboklab(57.87% -0.1128 0.0489)
OKLCHoklch(57.87% 0.123 156.5)
XYZxyz(12.5847, 20.8499, 13.2567)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F5B #8F285C
analogous
#288F28 #288F5B #288F8E
triadic
#288F5B #5B288F #8F5B28
tetradic
#288F5B #28288F #8F285C #8F8E28
square
#288F5B #28288F #8F285C #8F8E28
split-complementary
#288F5B #8E288F #8F2828
monochromatic
#0D2F1E #1B5F3D #288F5B #35BF79 #5FD298

Accessibility & contrast

On white

4.06
#288F5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#288F5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F5B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F5B#FFFFFF#000000##000000
##288F5B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8358
Deuteranopia (green-blind)
#817A5E
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #288f5b;
/* rgb */ color: rgb(40, 143, 91);
/* oklch */ color: oklch(57.9% 0.123 156.5);
Tailwind
colors: {
  custom: {
    50: '#70b189',
    500: '#288f5b',
    950: '#000000',
  },
}
SCSS
$custom: #288f5b;
$custom-light: #70b189;
$custom-dark: #000000;
JSON
{
  "hex": "#288f5b",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 91
  },
  "hsl": {
    "h": 149.709,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57865,
    "c": 0.12291,
    "h": 156.5
  },
  "luminance": 0.20851
}

Semantic roles & 50–950 ramp

primary
#288F5B
secondary
#B85B8A
accent
#4895E0
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #288F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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