#288B2B#288B2B

#288B2B is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.161 H 143.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#288B2B
RGBrgb(40, 139, 43)
HSLhsl(122, 55%, 35%)
HSVhsv(122, 71%, 55%)
CMYKcmyk(71.2%, 0%, 69.1%, 45.5%)
CIE-LABlab(50.79, -47.66, 41.61)
CIE-LCHlch(50.79, 63.27, 138.87°)
OKLaboklab(56.01% -0.1292 0.0958)
OKLCHoklch(56.01% 0.161 143.4)
XYZxyz(10.5431, 19.0896, 5.4141)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B2B #8B2888
analogous
#578B28 #288B2B #288B5C
triadic
#288B2B #2B288B #8B2B28
tetradic
#288B2B #28578B #8B2888 #8B5C28
square
#288B2B #28578B #8B2888 #8B5C28
split-complementary
#288B2B #5C288B #8B2857
monochromatic
#0D2C0E #1A5B1C #288B2B #36BB3A #5DD061

Accessibility & contrast

On white

4.36
#288B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#288B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B2B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B2B#FFFFFF#000000##000000
##288B2B1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1E
Deuteranopia (green-blind)
#827634
Tritanopia (blue-blind)
#088777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b2b;
/* rgb */ color: rgb(40, 139, 43);
/* oklch */ color: oklch(56.0% 0.161 143.4);
Tailwind
colors: {
  custom: {
    50: '#71ae69',
    500: '#288b2b',
    950: '#000000',
  },
}
SCSS
$custom: #288b2b;
$custom-light: #71ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#288b2b",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 121.818,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56005,
    "c": 0.16089,
    "h": 143.4
  },
  "luminance": 0.19091
}

Semantic roles & 50–950 ramp

primary
#288B2B
secondary
#B659B3
accent
#49DADF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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