#288B51#288B51

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

Color values

HEX#288B51
RGBrgb(40, 139, 81)
HSLhsl(145, 55%, 35%)
HSVhsv(145, 71%, 55%)
CMYKcmyk(71.2%, 0%, 41.7%, 45.5%)
CIE-LABlab(51.28, -42.03, 23.02)
CIE-LCHlch(51.28, 47.93, 151.29°)
OKLaboklab(56.56% -0.1134 0.0572)
OKLCHoklch(56.56% 0.127 153.2)
XYZxyz(11.5919, 19.5091, 10.9377)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B51 #8B2862
analogous
#318B28 #288B51 #288B82
triadic
#288B51 #51288B #8B5128
tetradic
#288B51 #28318B #8B2862 #8B8228
square
#288B51 #28318B #8B2862 #8B8228
split-complementary
#288B51 #82288B #8B2831
monochromatic
#0D2C1A #1A5B35 #288B51 #36BB6D #5DD08D

Accessibility & contrast

On white

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

On black

4.90
#288B51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B51
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B51#FFFFFF#000000##000000
##288B511.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288b51;
/* rgb */ color: rgb(40, 139, 81);
/* oklch */ color: oklch(56.6% 0.127 153.2);
Tailwind
colors: {
  custom: {
    50: '#70ae82',
    500: '#288b51',
    950: '#000000',
  },
}
SCSS
$custom: #288b51;
$custom-light: #70ae82;
$custom-dark: #000000;
JSON
{
  "hex": "#288b51",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 81
  },
  "hsl": {
    "h": 144.848,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56564,
    "c": 0.12701,
    "h": 153.2
  },
  "luminance": 0.1951
}

Semantic roles & 50–950 ramp

primary
#288B51
secondary
#B6598F
accent
#49A1DF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288B51

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

Preview Lab → · Contrast checker → · Palette generator →

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