#288E27#288E27

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

Color values

HEX#288E27
RGBrgb(40, 142, 39)
HSLhsl(119, 57%, 35%)
HSVhsv(119, 73%, 56%)
CMYKcmyk(71.8%, 0%, 72.5%, 44.3%)
CIE-LABlab(51.77, -49.10, 44.32)
CIE-LCHlch(51.77, 66.14, 137.93°)
OKLaboklab(56.81% -0.1333 0.101)
OKLCHoklch(56.81% 0.167 142.9)
XYZxyz(10.9136, 19.9424, 5.1932)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E27 #8D278E
analogous
#5C8E27 #288E27 #278E59
triadic
#288E27 #27288E #8E2728
tetradic
#288E27 #275C8E #8D278E #8E5927
square
#288E27 #275C8E #8D278E #8E5927
split-complementary
#288E27 #59278E #8E275C
monochromatic
#0D2E0D #1A5E1A #288E27 #36BE34 #5ED25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E27#FFFFFF#000000##000000
##288E271.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)
#918016
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#078A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e27;
/* rgb */ color: rgb(40, 142, 39);
/* oklch */ color: oklch(56.8% 0.167 142.9);
Tailwind
colors: {
  custom: {
    50: '#72b067',
    500: '#288e27',
    950: '#000000',
  },
}
SCSS
$custom: #288e27;
$custom-light: #72b067;
$custom-dark: #000000;
JSON
{
  "hex": "#288e27",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 119.417,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56807,
    "c": 0.16728,
    "h": 142.9
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#288E27
secondary
#B759B8
accent
#48E0DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288E27

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

Preview Lab → · Contrast checker → · Palette generator →

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