#288B54#288B54

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

Color values

HEX#288B54
RGBrgb(40, 139, 84)
HSLhsl(147, 55%, 35%)
HSVhsv(147, 71%, 55%)
CMYKcmyk(71.2%, 0%, 39.6%, 45.5%)
CIE-LABlab(51.33, -41.44, 21.43)
CIE-LCHlch(51.33, 46.66, 152.66°)
OKLaboklab(56.63% -0.1119 0.0535)
OKLCHoklch(56.63% 0.124 154.5)
XYZxyz(11.7069, 19.5551, 11.5433)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B54 #8B285F
analogous
#2D8B28 #288B54 #288B86
triadic
#288B54 #54288B #8B5428
tetradic
#288B54 #282D8B #8B285F #8B8628
square
#288B54 #282D8B #8B285F #8B8628
split-complementary
#288B54 #86288B #8B282D
monochromatic
#0D2C1B #1A5B37 #288B54 #36BB71 #5DD090

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B54#FFFFFF#000000##000000
##288B541.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)
#8B8050
Deuteranopia (green-blind)
#7E7758
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b54;
/* rgb */ color: rgb(40, 139, 84);
/* oklch */ color: oklch(56.6% 0.124 154.5);
Tailwind
colors: {
  custom: {
    50: '#70ae84',
    500: '#288b54',
    950: '#000000',
  },
}
SCSS
$custom: #288b54;
$custom-light: #70ae84;
$custom-dark: #000000;
JSON
{
  "hex": "#288b54",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 84
  },
  "hsl": {
    "h": 146.667,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56625,
    "c": 0.12408,
    "h": 154.5
  },
  "luminance": 0.19556
}

Semantic roles & 50–950 ramp

primary
#288B54
secondary
#B6598D
accent
#499CDF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #288B54

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

Preview Lab → · Contrast checker → · Palette generator →

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