#288A25#288A25

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

Color values

HEX#288A25
RGBrgb(40, 138, 37)
HSLhsl(118, 58%, 34%)
HSVhsv(118, 73%, 54%)
CMYKcmyk(71%, 0%, 73.2%, 45.9%)
CIE-LABlab(50.41, -47.88, 43.70)
CIE-LCHlch(50.41, 64.82, 137.61°)
OKLaboklab(55.67% -0.1301 0.0995)
OKLCHoklch(55.67% 0.164 142.6)
XYZxyz(10.2969, 18.7605, 4.8284)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A25 #87258A
analogous
#5B8A25 #288A25 #258A55
triadic
#288A25 #25288A #8A2528
tetradic
#288A25 #255B8A #87258A #8A5525
square
#288A25 #255B8A #87258A #8A5525
split-complementary
#288A25 #55258A #8A255B
monochromatic
#0C290B #1A5A18 #288A25 #36BA32 #5BD257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288A25#FFFFFF#000000##000000
##288A251.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)
#8D7D14
Deuteranopia (green-blind)
#82752F
Tritanopia (blue-blind)
#0C8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a25;
/* rgb */ color: rgb(40, 138, 37);
/* oklch */ color: oklch(55.7% 0.164 142.6);
Tailwind
colors: {
  custom: {
    50: '#71ad66',
    500: '#288a25',
    950: '#000000',
  },
}
SCSS
$custom: #288a25;
$custom-light: #71ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#288a25",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 118.218,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55669,
    "c": 0.16379,
    "h": 142.6
  },
  "luminance": 0.18762
}

Semantic roles & 50–950 ramp

primary
#288A25
secondary
#B454B7
accent
#47E1DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288A25

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

Preview Lab → · Contrast checker → · Palette generator →

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