#288E29#288E29

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

Color values

HEX#288E29
RGBrgb(40, 142, 41)
HSLhsl(121, 56%, 36%)
HSVhsv(121, 72%, 56%)
CMYKcmyk(71.8%, 0%, 71.1%, 44.3%)
CIE-LABlab(51.79, -48.91, 43.52)
CIE-LCHlch(51.79, 65.47, 138.34°)
OKLaboklab(56.83% -0.1327 0.0996)
OKLCHoklch(56.83% 0.166 143.1)
XYZxyz(10.9476, 19.9560, 5.3723)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E29 #8E288D
analogous
#5A8E28 #288E29 #288E5C
triadic
#288E29 #29288E #8E2928
tetradic
#288E29 #285A8E #8E288D #8E5C28
square
#288E29 #285A8E #8E288D #8E5C28
split-complementary
#288E29 #5C288E #8E285A
monochromatic
#0D2F0D #1B5E1B #288E29 #35BE37 #5FD260

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E29#FFFFFF#000000##000000
##288E291.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)
#91801A
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#068A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e29;
/* rgb */ color: rgb(40, 142, 41);
/* oklch */ color: oklch(56.8% 0.166 143.1);
Tailwind
colors: {
  custom: {
    50: '#72b068',
    500: '#288e29',
    950: '#000000',
  },
}
SCSS
$custom: #288e29;
$custom-light: #72b068;
$custom-dark: #000000;
JSON
{
  "hex": "#288e29",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 120.588,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56825,
    "c": 0.16595,
    "h": 143.1
  },
  "luminance": 0.19957
}

Semantic roles & 50–950 ramp

primary
#288E29
secondary
#B75BB6
accent
#48DEDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288E29

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

Preview Lab → · Contrast checker → · Palette generator →

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