#288C54#288C54

#288C54 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.9% C 0.125 H 154.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#288C54
RGBrgb(40, 140, 84)
HSLhsl(146, 56%, 35%)
HSVhsv(146, 71%, 55%)
CMYKcmyk(71.4%, 0%, 40%, 45.1%)
CIE-LABlab(51.66, -41.85, 21.87)
CIE-LCHlch(51.66, 47.22, 152.41°)
OKLaboklab(56.9% -0.113 0.0545)
OKLCHoklch(56.9% 0.125 154.2)
XYZxyz(11.8523, 19.8461, 11.5918)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C54 #8C2860
analogous
#2E8C28 #288C54 #288C86
triadic
#288C54 #54288C #8C5428
tetradic
#288C54 #282E8C #8C2860 #8C8628
square
#288C54 #282E8C #8C2860 #8C8628
split-complementary
#288C54 #86288C #8C282E
monochromatic
#0D2D1B #1A5C37 #288C54 #36BC71 #5ED190

Accessibility & contrast

On white

4.23
#288C54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#288C54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C54
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C54#FFFFFF#000000##000000
##288C541.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8050
Deuteranopia (green-blind)
#7F7858
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288c54;
/* rgb */ color: rgb(40, 140, 84);
/* oklch */ color: oklch(56.9% 0.125 154.2);
Tailwind
colors: {
  custom: {
    50: '#70ae84',
    500: '#288c54',
    950: '#000000',
  },
}
SCSS
$custom: #288c54;
$custom-light: #70ae84;
$custom-dark: #000000;
JSON
{
  "hex": "#288c54",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 84
  },
  "hsl": {
    "h": 146.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56899,
    "c": 0.12548,
    "h": 154.2
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#288C54
secondary
#B65A8D
accent
#499DDF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #288C54

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

Preview Lab → · Contrast checker → · Palette generator →

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