#288B56#288B56

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

Color values

HEX#288B56
RGBrgb(40, 139, 86)
HSLhsl(148, 55%, 35%)
HSVhsv(148, 71%, 55%)
CMYKcmyk(71.2%, 0%, 38.1%, 45.5%)
CIE-LABlab(51.37, -41.04, 20.36)
CIE-LCHlch(51.37, 45.81, 153.61°)
OKLaboklab(56.67% -0.111 0.051)
OKLCHoklch(56.67% 0.122 155.3)
XYZxyz(11.7863, 19.5869, 11.9618)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B56 #8B285D
analogous
#2B8B28 #288B56 #288B87
triadic
#288B56 #56288B #8B5628
tetradic
#288B56 #282B8B #8B285D #8B8728
square
#288B56 #282B8B #8B285D #8B8728
split-complementary
#288B56 #87288B #8B282B
monochromatic
#0D2C1B #1A5B39 #288B56 #36BB73 #5DD093

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B56#FFFFFF#000000##000000
##288B561.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)
#8A8052
Deuteranopia (green-blind)
#7E7759
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b56;
/* rgb */ color: rgb(40, 139, 86);
/* oklch */ color: oklch(56.7% 0.122 155.3);
Tailwind
colors: {
  custom: {
    50: '#70ae86',
    500: '#288b56',
    950: '#000000',
  },
}
SCSS
$custom: #288b56;
$custom-light: #70ae86;
$custom-dark: #000000;
JSON
{
  "hex": "#288b56",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 86
  },
  "hsl": {
    "h": 147.879,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56667,
    "c": 0.12213,
    "h": 155.3
  },
  "luminance": 0.19588
}

Semantic roles & 50–950 ramp

primary
#288B56
secondary
#B6598B
accent
#4999DF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #288B56

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

Preview Lab → · Contrast checker → · Palette generator →

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