#288B4E#288B4E

#288B4E is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.130 H 152.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#288B4E
RGBrgb(40, 139, 78)
HSLhsl(143, 55%, 35%)
HSVhsv(143, 71%, 55%)
CMYKcmyk(71.2%, 0%, 43.9%, 45.5%)
CIE-LABlab(51.23, -42.60, 24.61)
CIE-LCHlch(51.23, 49.20, 149.99°)
OKLaboklab(56.51% -0.1148 0.0608)
OKLCHoklch(56.51% 0.13 152.1)
XYZxyz(11.4819, 19.4651, 10.3583)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B4E #8B2865
analogous
#348B28 #288B4E #288B7F
triadic
#288B4E #4E288B #8B4E28
tetradic
#288B4E #28348B #8B2865 #8B7F28
square
#288B4E #28348B #8B2865 #8B7F28
split-complementary
#288B4E #7F288B #8B2834
monochromatic
#0D2C19 #1A5B33 #288B4E #36BB69 #5DD089

Accessibility & contrast

On white

4.29
#288B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#288B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B4E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B4E#FFFFFF#000000##000000
##288B4E1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4A
Deuteranopia (green-blind)
#7F7752
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b4e;
/* rgb */ color: rgb(40, 139, 78);
/* oklch */ color: oklch(56.5% 0.130 152.1);
Tailwind
colors: {
  custom: {
    50: '#70ae80',
    500: '#288b4e',
    950: '#000000',
  },
}
SCSS
$custom: #288b4e;
$custom-light: #70ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#288b4e",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 143.03,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56506,
    "c": 0.12994,
    "h": 152.1
  },
  "luminance": 0.19466
}

Semantic roles & 50–950 ramp

primary
#288B4E
secondary
#B65992
accent
#49A5DF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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