#288A52#288A52

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

Color values

HEX#288A52
RGBrgb(40, 138, 82)
HSLhsl(146, 55%, 35%)
HSVhsv(146, 71%, 54%)
CMYKcmyk(71%, 0%, 40.6%, 45.9%)
CIE-LABlab(50.96, -41.43, 22.05)
CIE-LCHlch(50.96, 46.94, 151.97°)
OKLaboklab(56.31% -0.1119 0.0549)
OKLCHoklch(56.31% 0.125 153.8)
XYZxyz(11.4855, 19.2360, 11.0886)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A52 #8A2860
analogous
#2F8A28 #288A52 #288A83
triadic
#288A52 #52288A #8A5228
tetradic
#288A52 #282F8A #8A2860 #8A8328
square
#288A52 #282F8A #8A2860 #8A8328
split-complementary
#288A52 #83288A #8A282F
monochromatic
#0C2B1A #1A5B36 #288A52 #36B96E #5DD08E

Accessibility & contrast

On white

4.33
#288A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#288A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A52
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A52#FFFFFF#000000##000000
##288A521.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F4E
Deuteranopia (green-blind)
#7E7656
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288a52;
/* rgb */ color: rgb(40, 138, 82);
/* oklch */ color: oklch(56.3% 0.125 153.8);
Tailwind
colors: {
  custom: {
    50: '#6fad83',
    500: '#288a52',
    950: '#000000',
  },
}
SCSS
$custom: #288a52;
$custom-light: #6fad83;
$custom-dark: #000000;
JSON
{
  "hex": "#288a52",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 145.714,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.12462,
    "h": 153.8
  },
  "luminance": 0.19237
}

Semantic roles & 50–950 ramp

primary
#288A52
secondary
#B5598E
accent
#499FDE
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288A52

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

Preview Lab → · Contrast checker → · Palette generator →

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