#288A4F#288A4F

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

Color values

HEX#288A4F
RGBrgb(40, 138, 79)
HSLhsl(144, 55%, 35%)
HSVhsv(144, 71%, 54%)
CMYKcmyk(71%, 0%, 42.8%, 45.9%)
CIE-LABlab(50.91, -42.01, 23.65)
CIE-LCHlch(50.91, 48.21, 150.63°)
OKLaboklab(56.25% -0.1133 0.0586)
OKLCHoklch(56.25% 0.128 152.7)
XYZxyz(11.3739, 19.1913, 10.5005)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A4F #8A2863
analogous
#328A28 #288A4F #288A80
triadic
#288A4F #4F288A #8A4F28
tetradic
#288A4F #28328A #8A2863 #8A8028
square
#288A4F #28328A #8A2863 #8A8028
split-complementary
#288A4F #80288A #8A2832
monochromatic
#0C2B19 #1A5B34 #288A4F #36B96A #5DD08A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288A4F#FFFFFF#000000##000000
##288A4F1.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)
#8A7E4B
Deuteranopia (green-blind)
#7E7653
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288a4f;
/* rgb */ color: rgb(40, 138, 79);
/* oklch */ color: oklch(56.3% 0.128 152.7);
Tailwind
colors: {
  custom: {
    50: '#6fad81',
    500: '#288a4f',
    950: '#000000',
  },
}
SCSS
$custom: #288a4f;
$custom-light: #6fad81;
$custom-dark: #000000;
JSON
{
  "hex": "#288a4f",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 143.878,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5625,
    "c": 0.12757,
    "h": 152.7
  },
  "luminance": 0.19193
}

Semantic roles & 50–950 ramp

primary
#288A4F
secondary
#B55990
accent
#49A3DE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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