#288B52#288B52

#288B52 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.6% C 0.126 H 153.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#288B52
RGBrgb(40, 139, 82)
HSLhsl(145, 55%, 35%)
HSVhsv(145, 71%, 55%)
CMYKcmyk(71.2%, 0%, 41%, 45.5%)
CIE-LABlab(51.30, -41.84, 22.49)
CIE-LCHlch(51.30, 47.50, 151.74°)
OKLaboklab(56.58% -0.1129 0.056)
OKLCHoklch(56.58% 0.126 153.6)
XYZxyz(11.6297, 19.5243, 11.1367)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B52 #8B2861
analogous
#2F8B28 #288B52 #288B84
triadic
#288B52 #52288B #8B5228
tetradic
#288B52 #282F8B #8B2861 #8B8428
square
#288B52 #282F8B #8B2861 #8B8428
split-complementary
#288B52 #84288B #8B282F
monochromatic
#0D2C1A #1A5B36 #288B52 #36BB6E #5DD08E

Accessibility & contrast

On white

4.28
#288B52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#288B52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B52
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B52#FFFFFF#000000##000000
##288B521.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4E
Deuteranopia (green-blind)
#7F7756
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b52;
/* rgb */ color: rgb(40, 139, 82);
/* oklch */ color: oklch(56.6% 0.126 153.6);
Tailwind
colors: {
  custom: {
    50: '#70ae83',
    500: '#288b52',
    950: '#000000',
  },
}
SCSS
$custom: #288b52;
$custom-light: #70ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#288b52",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 82
  },
  "hsl": {
    "h": 145.455,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56584,
    "c": 0.12603,
    "h": 153.6
  },
  "luminance": 0.19526
}

Semantic roles & 50–950 ramp

primary
#288B52
secondary
#B6598E
accent
#499FDF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288B52

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

Preview Lab → · Contrast checker → · Palette generator →

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