#288B57#288B57

#288B57 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.121 H 155.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#288B57
RGBrgb(40, 139, 87)
HSLhsl(148, 55%, 35%)
HSVhsv(148, 71%, 55%)
CMYKcmyk(71.2%, 0%, 37.4%, 45.5%)
CIE-LABlab(51.39, -40.83, 19.83)
CIE-LCHlch(51.39, 45.39, 154.10°)
OKLaboklab(56.69% -0.1105 0.0497)
OKLCHoklch(56.69% 0.121 155.8)
XYZxyz(11.8269, 19.6032, 12.1755)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B57 #8B285C
analogous
#2A8B28 #288B57 #288B88
triadic
#288B57 #57288B #8B5728
tetradic
#288B57 #282A8B #8B285C #8B8828
square
#288B57 #282A8B #8B285C #8B8828
split-complementary
#288B57 #88288B #8B282A
monochromatic
#0D2C1C #1A5B39 #288B57 #36BB75 #5DD094

Accessibility & contrast

On white

4.27
#288B57 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#288B57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B57
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B57#FFFFFF#000000##000000
##288B571.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8054
Deuteranopia (green-blind)
#7E775A
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b57;
/* rgb */ color: rgb(40, 139, 87);
/* oklch */ color: oklch(56.7% 0.121 155.8);
Tailwind
colors: {
  custom: {
    50: '#70ae87',
    500: '#288b57',
    950: '#000000',
  },
}
SCSS
$custom: #288b57;
$custom-light: #70ae87;
$custom-dark: #000000;
JSON
{
  "hex": "#288b57",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 87
  },
  "hsl": {
    "h": 148.485,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.12117,
    "h": 155.8
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#288B57
secondary
#B6598A
accent
#4998DF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #288B57

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

Preview Lab → · Contrast checker → · Palette generator →

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