#288B24#288B24

#288B24 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.166 H 142.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#288B24
RGBrgb(40, 139, 36)
HSLhsl(118, 59%, 34%)
HSVhsv(118, 74%, 55%)
CMYKcmyk(71.2%, 0%, 74.1%, 45.5%)
CIE-LABlab(50.74, -48.32, 44.44)
CIE-LCHlch(50.74, 65.64, 137.39°)
OKLaboklab(55.94% -0.1314 0.1009)
OKLCHoklch(55.94% 0.166 142.5)
XYZxyz(10.4255, 19.0426, 4.7949)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B24 #87248B
analogous
#5C8B24 #288B24 #248B54
triadic
#288B24 #24288B #8B2428
tetradic
#288B24 #245C8B #87248B #8B5424
square
#288B24 #245C8B #87248B #8B5424
split-complementary
#288B24 #54248B #8B245C
monochromatic
#0C2A0B #1A5A17 #288B24 #36BC31 #5BD356

Accessibility & contrast

On white

4.37
#288B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#288B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B24
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B24#FFFFFF#000000##000000
##288B241.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E12
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#0C8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b24;
/* rgb */ color: rgb(40, 139, 36);
/* oklch */ color: oklch(55.9% 0.166 142.5);
Tailwind
colors: {
  custom: {
    50: '#71ae65',
    500: '#288b24',
    950: '#000000',
  },
}
SCSS
$custom: #288b24;
$custom-light: #71ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#288b24",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 117.67,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55942,
    "c": 0.16563,
    "h": 142.5
  },
  "luminance": 0.19044
}

Semantic roles & 50–950 ramp

primary
#288B24
secondary
#B453B7
accent
#46E2DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288B24

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

Preview Lab → · Contrast checker → · Palette generator →

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