#288F4B#288F4B

#288F4B is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.138 H 150.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#288F4B
RGBrgb(40, 143, 75)
HSLhsl(140, 56%, 36%)
HSVhsv(140, 72%, 56%)
CMYKcmyk(72%, 0%, 47.6%, 43.9%)
CIE-LABlab(52.51, -44.71, 27.88)
CIE-LCHlch(52.51, 52.69, 148.05°)
OKLaboklab(57.55% -0.1204 0.0683)
OKLCHoklch(57.55% 0.138 150.4)
XYZxyz(11.9666, 20.6027, 10.0013)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F4B #8F286C
analogous
#398F28 #288F4B #288F7E
triadic
#288F4B #4B288F #8F4B28
tetradic
#288F4B #28398F #8F286C #8F7E28
square
#288F4B #28398F #8F286C #8F7E28
split-complementary
#288F4B #7E288F #8F2839
monochromatic
#0D2F19 #1B5F32 #288F4B #35BF64 #5FD286

Accessibility & contrast

On white

4.10
#288F4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#288F4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F4B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F4B#FFFFFF#000000##000000
##288F4B1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908346
Deuteranopia (green-blind)
#837A50
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f4b;
/* rgb */ color: rgb(40, 143, 75);
/* oklch */ color: oklch(57.6% 0.138 150.4);
Tailwind
colors: {
  custom: {
    50: '#71b17e',
    500: '#288f4b',
    950: '#000000',
  },
}
SCSS
$custom: #288f4b;
$custom-light: #71b17e;
$custom-dark: #000000;
JSON
{
  "hex": "#288f4b",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 75
  },
  "hsl": {
    "h": 140.388,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5755,
    "c": 0.13839,
    "h": 150.4
  },
  "luminance": 0.20604
}

Semantic roles & 50–950 ramp

primary
#288F4B
secondary
#B85B98
accent
#48ACE0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #288F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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