#288E25#288E25

#288E25 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.169 H 142.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#288E25
RGBrgb(40, 142, 37)
HSLhsl(118, 59%, 35%)
HSVhsv(118, 74%, 56%)
CMYKcmyk(71.8%, 0%, 73.9%, 44.3%)
CIE-LABlab(51.76, -49.27, 45.09)
CIE-LCHlch(51.76, 66.79, 137.54°)
OKLaboklab(56.79% -0.1339 0.1024)
OKLCHoklch(56.79% 0.169 142.6)
XYZxyz(10.8814, 19.9295, 5.0232)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E25 #8B258E
analogous
#5C8E25 #288E25 #258E57
triadic
#288E25 #25288E #8E2528
tetradic
#288E25 #255C8E #8B258E #8E5725
square
#288E25 #255C8E #8B258E #8E5725
split-complementary
#288E25 #57258E #8E255C
monochromatic
#0D2D0C #1A5D18 #288E25 #36BF32 #5DD45A

Accessibility & contrast

On white

4.21
#288E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#288E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E25
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E25#FFFFFF#000000##000000
##288E251.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#088A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e25;
/* rgb */ color: rgb(40, 142, 37);
/* oklch */ color: oklch(56.8% 0.169 142.6);
Tailwind
colors: {
  custom: {
    50: '#72b066',
    500: '#288e25',
    950: '#000000',
  },
}
SCSS
$custom: #288e25;
$custom-light: #72b066;
$custom-dark: #000000;
JSON
{
  "hex": "#288e25",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 118.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.16857,
    "h": 142.6
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

primary
#288E25
secondary
#B656B9
accent
#46E2DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288E25

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

Preview Lab → · Contrast checker → · Palette generator →

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