#288F48#288F48

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

Color values

HEX#288F48
RGBrgb(40, 143, 72)
HSLhsl(139, 56%, 36%)
HSVhsv(139, 72%, 56%)
CMYKcmyk(72%, 0%, 49.7%, 43.9%)
CIE-LABlab(52.47, -45.22, 29.43)
CIE-LCHlch(52.47, 53.95, 146.95°)
OKLaboklab(57.5% -0.1217 0.0717)
OKLCHoklch(57.5% 0.141 149.5)
XYZxyz(11.8663, 20.5626, 9.4732)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F48 #8F286F
analogous
#3B8F28 #288F48 #288F7B
triadic
#288F48 #48288F #8F4828
tetradic
#288F48 #283B8F #8F286F #8F7B28
square
#288F48 #283B8F #8F286F #8F7B28
split-complementary
#288F48 #7B288F #8F283B
monochromatic
#0D2F18 #1B5F30 #288F48 #35BF60 #5FD283

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F48#FFFFFF#000000##000000
##288F481.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)
#908242
Deuteranopia (green-blind)
#847A4D
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f48;
/* rgb */ color: rgb(40, 143, 72);
/* oklch */ color: oklch(57.5% 0.141 149.5);
Tailwind
colors: {
  custom: {
    50: '#71b17c',
    500: '#288f48',
    950: '#000000',
  },
}
SCSS
$custom: #288f48;
$custom-light: #71b17c;
$custom-dark: #000000;
JSON
{
  "hex": "#288f48",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 72
  },
  "hsl": {
    "h": 138.641,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57499,
    "c": 0.14126,
    "h": 149.5
  },
  "luminance": 0.20564
}

Semantic roles & 50–950 ramp

primary
#288F48
secondary
#B85B9B
accent
#48B1E0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #288F48

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

Preview Lab → · Contrast checker → · Palette generator →

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