#288A4E#288A4E

#288A4E is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.129 H 152.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#288A4E
RGBrgb(40, 138, 78)
HSLhsl(143, 55%, 35%)
HSVhsv(143, 71%, 54%)
CMYKcmyk(71%, 0%, 43.5%, 45.9%)
CIE-LABlab(50.89, -42.20, 24.17)
CIE-LCHlch(50.89, 48.64, 150.20°)
OKLaboklab(56.23% -0.1138 0.0598)
OKLCHoklch(56.23% 0.129 152.3)
XYZxyz(11.3377, 19.1769, 10.3102)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A4E #8A2864
analogous
#338A28 #288A4E #288A7F
triadic
#288A4E #4E288A #8A4E28
tetradic
#288A4E #28338A #8A2864 #8A7F28
square
#288A4E #28338A #8A2864 #8A7F28
split-complementary
#288A4E #7F288A #8A2833
monochromatic
#0C2B18 #1A5B33 #288A4E #36B969 #5DD089

Accessibility & contrast

On white

4.34
#288A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#288A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A4E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A4E#FFFFFF#000000##000000
##288A4E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E4A
Deuteranopia (green-blind)
#7E7652
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288a4e;
/* rgb */ color: rgb(40, 138, 78);
/* oklch */ color: oklch(56.2% 0.129 152.3);
Tailwind
colors: {
  custom: {
    50: '#70ad80',
    500: '#288a4e',
    950: '#000000',
  },
}
SCSS
$custom: #288a4e;
$custom-light: #70ad80;
$custom-dark: #000000;
JSON
{
  "hex": "#288a4e",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 143.265,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.12854,
    "h": 152.3
  },
  "luminance": 0.19178
}

Semantic roles & 50–950 ramp

primary
#288A4E
secondary
#B55991
accent
#49A5DE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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