#288A28#288A28

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

Color values

HEX#288A28
RGBrgb(40, 138, 40)
HSLhsl(120, 55%, 35%)
HSVhsv(120, 71%, 54%)
CMYKcmyk(71%, 0%, 71%, 45.9%)
CIE-LABlab(50.43, -47.60, 42.50)
CIE-LCHlch(50.43, 63.81, 138.24°)
OKLaboklab(55.7% -0.1292 0.0973)
OKLCHoklch(55.7% 0.162 143)
XYZxyz(10.3459, 18.7802, 5.0868)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A28 #8A288A
analogous
#598A28 #288A28 #288A59
triadic
#288A28 #28288A #8A2828
tetradic
#288A28 #28598A #8A288A #8A5928
square
#288A28 #28598A #8A288A #8A5928
split-complementary
#288A28 #59288A #8A2859
monochromatic
#0C2B0C #1A5B1A #288A28 #36B936 #5DD05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288A28#FFFFFF#000000##000000
##288A281.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D19
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#0B8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a28;
/* rgb */ color: rgb(40, 138, 40);
/* oklch */ color: oklch(55.7% 0.162 143.0);
Tailwind
colors: {
  custom: {
    50: '#71ad67',
    500: '#288a28',
    950: '#000000',
  },
}
SCSS
$custom: #288a28;
$custom-light: #71ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#288a28",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.16178,
    "h": 143
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#288A28
secondary
#B559B5
accent
#49DEDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288A28

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

Preview Lab → · Contrast checker → · Palette generator →

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