#288958#288958

#288958 is a mid, moderate green. Relative luminance 0.190; OKLCH L 56.2% C 0.117 H 156.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#288958
RGBrgb(40, 137, 88)
HSLhsl(150, 55%, 35%)
HSVhsv(150, 71%, 54%)
CMYKcmyk(70.8%, 0%, 35.8%, 46.3%)
CIE-LABlab(50.74, -39.80, 18.40)
CIE-LCHlch(50.74, 43.84, 155.19°)
OKLaboklab(56.16% -0.1079 0.0463)
OKLCHoklch(56.16% 0.117 156.8)
XYZxyz(11.5811, 19.0457, 12.2965)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288958 #892859
analogous
#288928 #288958 #288989
triadic
#288958 #582889 #895828
tetradic
#288958 #282889 #892859 #898928
square
#288958 #282889 #892859 #898928
split-complementary
#288958 #892889 #892828
monochromatic
#0C2A1B #1A5A3A #288958 #36B876 #5CCF95

Accessibility & contrast

On white

4.37
#288958 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#288958 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288958
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288958#FFFFFF#000000##000000
##2889581.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887E55
Deuteranopia (green-blind)
#7C755B
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288958;
/* rgb */ color: rgb(40, 137, 88);
/* oklch */ color: oklch(56.2% 0.117 156.8);
Tailwind
colors: {
  custom: {
    50: '#6fac87',
    500: '#288958',
    950: '#000000',
  },
}
SCSS
$custom: #288958;
$custom-light: #6fac87;
$custom-dark: #000000;
JSON
{
  "hex": "#288958",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 88
  },
  "hsl": {
    "h": 149.691,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.11737,
    "h": 156.8
  },
  "luminance": 0.19047
}

Semantic roles & 50–950 ramp

primary
#288958
secondary
#B55887
accent
#4A95DE
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #288958

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

Preview Lab → · Contrast checker → · Palette generator →

#288958 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva