#288D29#288D29

#288D29 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.165 H 143.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#288D29
RGBrgb(40, 141, 41)
HSLhsl(121, 56%, 35%)
HSVhsv(121, 72%, 55%)
CMYKcmyk(71.6%, 0%, 70.9%, 44.7%)
CIE-LABlab(51.45, -48.56, 43.16)
CIE-LCHlch(51.45, 64.97, 138.37°)
OKLaboklab(56.55% -0.1318 0.0988)
OKLCHoklch(56.55% 0.165 143.1)
XYZxyz(10.7995, 19.6598, 5.3230)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D29 #8D288C
analogous
#598D28 #288D29 #288D5B
triadic
#288D29 #29288D #8D2928
tetradic
#288D29 #28598D #8D288C #8D5B28
square
#288D29 #28598D #8D288C #8D5B28
split-complementary
#288D29 #5B288D #8D2859
monochromatic
#0D2E0D #1A5D1B #288D29 #36BD37 #5ED15F

Accessibility & contrast

On white

4.26
#288D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#288D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D29
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D29#FFFFFF#000000##000000
##288D291.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801A
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#078979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d29;
/* rgb */ color: rgb(40, 141, 41);
/* oklch */ color: oklch(56.5% 0.165 143.1);
Tailwind
colors: {
  custom: {
    50: '#72af68',
    500: '#288d29',
    950: '#000000',
  },
}
SCSS
$custom: #288d29;
$custom-light: #72af68;
$custom-dark: #000000;
JSON
{
  "hex": "#288d29",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 120.594,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56545,
    "c": 0.16474,
    "h": 143.1
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#288D29
secondary
#B75AB6
accent
#49DEDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288D29

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

Preview Lab → · Contrast checker → · Palette generator →

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