#288C52#288C52

#288C52 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.9% C 0.127 H 153.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#288C52
RGBrgb(40, 140, 82)
HSLhsl(145, 56%, 35%)
HSVhsv(145, 71%, 55%)
CMYKcmyk(71.4%, 0%, 41.4%, 45.1%)
CIE-LABlab(51.63, -42.24, 22.93)
CIE-LCHlch(51.63, 48.07, 151.50°)
OKLaboklab(56.86% -0.114 0.057)
OKLCHoklch(56.86% 0.127 153.4)
XYZxyz(11.7751, 19.8152, 11.1851)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C52 #8C2862
analogous
#308C28 #288C52 #288C84
triadic
#288C52 #52288C #8C5228
tetradic
#288C52 #28308C #8C2862 #8C8428
square
#288C52 #28308C #8C2862 #8C8428
split-complementary
#288C52 #84288C #8C2830
monochromatic
#0D2D1A #1A5C36 #288C52 #36BC6E #5ED18E

Accessibility & contrast

On white

4.23
#288C52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#288C52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C52
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C52#FFFFFF#000000##000000
##288C521.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804E
Deuteranopia (green-blind)
#807856
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288c52;
/* rgb */ color: rgb(40, 140, 82);
/* oklch */ color: oklch(56.9% 0.127 153.4);
Tailwind
colors: {
  custom: {
    50: '#70ae83',
    500: '#288c52',
    950: '#000000',
  },
}
SCSS
$custom: #288c52;
$custom-light: #70ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#288c52",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 82
  },
  "hsl": {
    "h": 145.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56858,
    "c": 0.12743,
    "h": 153.4
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#288C52
secondary
#B65A8F
accent
#49A0DF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288C52

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

Preview Lab → · Contrast checker → · Palette generator →

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