#288A2D#288A2D

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

Color values

HEX#288A2D
RGBrgb(40, 138, 45)
HSLhsl(123, 55%, 35%)
HSVhsv(123, 71%, 54%)
CMYKcmyk(71%, 0%, 67.4%, 45.9%)
CIE-LABlab(50.47, -47.09, 40.39)
CIE-LCHlch(50.47, 62.04, 139.38°)
OKLaboklab(55.75% -0.1276 0.0935)
OKLCHoklch(55.75% 0.158 143.8)
XYZxyz(10.4366, 18.8164, 5.5640)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A2D #8A2885
analogous
#548A28 #288A2D #288A5E
triadic
#288A2D #2D288A #8A2D28
tetradic
#288A2D #28548A #8A2885 #8A5E28
square
#288A2D #28548A #8A2885 #8A5E28
split-complementary
#288A2D #5E288A #8A2854
monochromatic
#0C2B0E #1A5B1E #288A2D #36B93C #5DD062

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288A2D#FFFFFF#000000##000000
##288A2D1.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)
#8D7D21
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#088677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a2d;
/* rgb */ color: rgb(40, 138, 45);
/* oklch */ color: oklch(55.7% 0.158 143.8);
Tailwind
colors: {
  custom: {
    50: '#71ad6a',
    500: '#288a2d',
    950: '#000000',
  },
}
SCSS
$custom: #288a2d;
$custom-light: #71ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#288a2d",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 123.061,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55745,
    "c": 0.15817,
    "h": 143.8
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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