#288B31#288B31

#288B31 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.156 H 144.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#288B31
RGBrgb(40, 139, 49)
HSLhsl(125, 55%, 35%)
HSVhsv(125, 71%, 55%)
CMYKcmyk(71.2%, 0%, 64.7%, 45.5%)
CIE-LABlab(50.85, -47.00, 38.99)
CIE-LCHlch(50.85, 61.07, 140.32°)
OKLaboklab(56.07% -0.1272 0.0909)
OKLCHoklch(56.07% 0.156 144.4)
XYZxyz(10.6614, 19.1369, 6.0371)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B31 #8B2882
analogous
#508B28 #288B31 #288B63
triadic
#288B31 #31288B #8B3128
tetradic
#288B31 #28508B #8B2882 #8B6328
square
#288B31 #28508B #8B2882 #8B6328
split-complementary
#288B31 #63288B #8B2850
monochromatic
#0D2C0F #1A5B20 #288B31 #36BB42 #5DD068

Accessibility & contrast

On white

4.35
#288B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#288B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B31
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B31#FFFFFF#000000##000000
##288B311.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E26
Deuteranopia (green-blind)
#827639
Tritanopia (blue-blind)
#048778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b31;
/* rgb */ color: rgb(40, 139, 49);
/* oklch */ color: oklch(56.1% 0.156 144.4);
Tailwind
colors: {
  custom: {
    50: '#71ae6d',
    500: '#288b31',
    950: '#000000',
  },
}
SCSS
$custom: #288b31;
$custom-light: #71ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#288b31",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 125.455,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56068,
    "c": 0.15633,
    "h": 144.4
  },
  "luminance": 0.19138
}

Semantic roles & 50–950 ramp

primary
#288B31
secondary
#B659AD
accent
#49D1DF
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288B31

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

Preview Lab → · Contrast checker → · Palette generator →

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