#288C56#288C56

#288C56 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.124 H 155.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#288C56
RGBrgb(40, 140, 86)
HSLhsl(148, 56%, 35%)
HSVhsv(148, 71%, 55%)
CMYKcmyk(71.4%, 0%, 38.6%, 45.1%)
CIE-LABlab(51.70, -41.45, 20.81)
CIE-LCHlch(51.70, 46.38, 153.35°)
OKLaboklab(56.94% -0.112 0.0521)
OKLCHoklch(56.94% 0.124 155.1)
XYZxyz(11.9318, 19.8778, 12.0103)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C56 #8C285E
analogous
#2C8C28 #288C56 #288C88
triadic
#288C56 #56288C #8C5628
tetradic
#288C56 #282C8C #8C285E #8C8828
square
#288C56 #282C8C #8C285E #8C8828
split-complementary
#288C56 #88288C #8C282C
monochromatic
#0D2D1C #1A5C39 #288C56 #36BC73 #5ED193

Accessibility & contrast

On white

4.22
#288C56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#288C56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C56
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C56#FFFFFF#000000##000000
##288C561.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8152
Deuteranopia (green-blind)
#7F785A
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288c56;
/* rgb */ color: rgb(40, 140, 86);
/* oklch */ color: oklch(56.9% 0.124 155.1);
Tailwind
colors: {
  custom: {
    50: '#70ae86',
    500: '#288c56',
    950: '#000000',
  },
}
SCSS
$custom: #288c56;
$custom-light: #70ae86;
$custom-dark: #000000;
JSON
{
  "hex": "#288c56",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 86
  },
  "hsl": {
    "h": 147.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5694,
    "c": 0.12354,
    "h": 155.1
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#288C56
secondary
#B65A8C
accent
#499ADF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #288C56

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

Preview Lab → · Contrast checker → · Palette generator →

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