#288A24#288A24

#288A24 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.164 H 142.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#288A24
RGBrgb(40, 138, 36)
HSLhsl(118, 59%, 34%)
HSVhsv(118, 74%, 54%)
CMYKcmyk(71%, 0%, 73.9%, 45.9%)
CIE-LABlab(50.40, -47.96, 44.09)
CIE-LCHlch(50.40, 65.15, 137.41°)
OKLaboklab(55.66% -0.1304 0.1001)
OKLCHoklch(55.66% 0.164 142.5)
XYZxyz(10.2814, 18.7543, 4.7468)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A24 #86248A
analogous
#5B8A24 #288A24 #248A53
triadic
#288A24 #24288A #8A2428
tetradic
#288A24 #245B8A #86248A #8A5324
square
#288A24 #245B8A #86248A #8A5324
split-complementary
#288A24 #53248A #8A245B
monochromatic
#0C290B #1A5917 #288A24 #36BB31 #5BD356

Accessibility & contrast

On white

4.42
#288A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#288A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A24
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A24#FFFFFF#000000##000000
##288A241.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D12
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#0D8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a24;
/* rgb */ color: rgb(40, 138, 36);
/* oklch */ color: oklch(55.7% 0.164 142.5);
Tailwind
colors: {
  custom: {
    50: '#71ad65',
    500: '#288a24',
    950: '#000000',
  },
}
SCSS
$custom: #288a24;
$custom-light: #71ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#288a24",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 117.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55661,
    "c": 0.16444,
    "h": 142.5
  },
  "luminance": 0.18755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288A24

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

Preview Lab → · Contrast checker → · Palette generator →

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