#288A2E#288A2E

#288A2E is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.157 H 143.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#288A2E
RGBrgb(40, 138, 46)
HSLhsl(124, 55%, 35%)
HSVhsv(124, 71%, 54%)
CMYKcmyk(71%, 0%, 66.7%, 45.9%)
CIE-LABlab(50.48, -46.98, 39.95)
CIE-LCHlch(50.48, 61.67, 139.62°)
OKLaboklab(55.76% -0.1272 0.0927)
OKLCHoklch(55.76% 0.157 143.9)
XYZxyz(10.4560, 18.8242, 5.6666)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A2E #8A2884
analogous
#538A28 #288A2E #288A5F
triadic
#288A2E #2E288A #8A2E28
tetradic
#288A2E #28538A #8A2884 #8A5F28
square
#288A2E #28538A #8A2884 #8A5F28
split-complementary
#288A2E #5F288A #8A2853
monochromatic
#0C2B0E #1A5B1E #288A2E #36B93E #5DD064

Accessibility & contrast

On white

4.41
#288A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#288A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A2E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A2E#FFFFFF#000000##000000
##288A2E1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#817536
Tritanopia (blue-blind)
#078677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a2e;
/* rgb */ color: rgb(40, 138, 46);
/* oklch */ color: oklch(55.8% 0.157 143.9);
Tailwind
colors: {
  custom: {
    50: '#71ad6b',
    500: '#288a2e',
    950: '#000000',
  },
}
SCSS
$custom: #288a2e;
$custom-light: #71ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#288a2e",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 123.673,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.15741,
    "h": 143.9
  },
  "luminance": 0.18825
}

Semantic roles & 50–950 ramp

primary
#288A2E
secondary
#B559B0
accent
#49D5DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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