#288F52#288F52

#288F52 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.132 H 152.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#288F52
RGBrgb(40, 143, 82)
HSLhsl(144, 56%, 36%)
HSVhsv(144, 72%, 56%)
CMYKcmyk(72%, 0%, 42.7%, 43.9%)
CIE-LABlab(52.62, -43.44, 24.24)
CIE-LCHlch(52.62, 49.74, 150.84°)
OKLaboklab(57.68% -0.1171 0.0601)
OKLCHoklch(57.68% 0.132 152.8)
XYZxyz(12.2195, 20.7039, 11.3333)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F52 #8F2865
analogous
#318F28 #288F52 #288F85
triadic
#288F52 #52288F #8F5228
tetradic
#288F52 #28318F #8F2865 #8F8528
square
#288F52 #28318F #8F2865 #8F8528
split-complementary
#288F52 #85288F #8F2831
monochromatic
#0D2F1B #1B5F37 #288F52 #35BF6D #5FD28E

Accessibility & contrast

On white

4.08
#288F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#288F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F52
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F52#FFFFFF#000000##000000
##288F521.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#827A56
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #288f52;
/* rgb */ color: rgb(40, 143, 82);
/* oklch */ color: oklch(57.7% 0.132 152.8);
Tailwind
colors: {
  custom: {
    50: '#71b183',
    500: '#288f52',
    950: '#000000',
  },
}
SCSS
$custom: #288f52;
$custom-light: #71b183;
$custom-dark: #000000;
JSON
{
  "hex": "#288f52",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 144.466,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57679,
    "c": 0.13162,
    "h": 152.8
  },
  "luminance": 0.20705
}

Semantic roles & 50–950 ramp

primary
#288F52
secondary
#B85B92
accent
#48A2E0
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #288F52

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

Preview Lab → · Contrast checker → · Palette generator →

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