#288B4B#288B4B

#288B4B is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.133 H 151.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288B4B
RGBrgb(40, 139, 75)
HSLhsl(141, 55%, 35%)
HSVhsv(141, 71%, 55%)
CMYKcmyk(71.2%, 0%, 46%, 45.5%)
CIE-LABlab(51.18, -43.15, 26.18)
CIE-LCHlch(51.18, 50.47, 148.75°)
OKLaboklab(56.45% -0.1162 0.0644)
OKLCHoklch(56.45% 0.133 151)
XYZxyz(11.3768, 19.4231, 9.8047)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B4B #8B2868
analogous
#378B28 #288B4B #288B7C
triadic
#288B4B #4B288B #8B4B28
tetradic
#288B4B #28378B #8B2868 #8B7C28
square
#288B4B #28378B #8B2868 #8B7C28
split-complementary
#288B4B #7C288B #8B2837
monochromatic
#0D2C18 #1A5B31 #288B4B #36BB65 #5DD086

Accessibility & contrast

On white

4.30
#288B4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#288B4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B4B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B4B#FFFFFF#000000##000000
##288B4B1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F46
Deuteranopia (green-blind)
#7F774F
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b4b;
/* rgb */ color: rgb(40, 139, 75);
/* oklch */ color: oklch(56.5% 0.133 151.0);
Tailwind
colors: {
  custom: {
    50: '#70ae7e',
    500: '#288b4b',
    950: '#000000',
  },
}
SCSS
$custom: #288b4b;
$custom-light: #70ae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#288b4b",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 75
  },
  "hsl": {
    "h": 141.212,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.13287,
    "h": 151
  },
  "luminance": 0.19424
}

Semantic roles & 50–950 ramp

primary
#288B4B
secondary
#B65995
accent
#49AADF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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