#288E1D#288E1D

#288E1D is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.173 H 141.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#288E1D
RGBrgb(40, 142, 29)
HSLhsl(114, 66%, 34%)
HSVhsv(114, 80%, 56%)
CMYKcmyk(71.8%, 0%, 79.6%, 44.3%)
CIE-LABlab(51.71, -49.89, 47.93)
CIE-LCHlch(51.71, 69.19, 136.15°)
OKLaboklab(56.73% -0.136 0.1072)
OKLCHoklch(56.73% 0.173 141.8)
XYZxyz(10.7692, 19.8847, 4.4327)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E1D #831D8E
analogous
#608E1D #288E1D #1D8E4A
triadic
#288E1D #1D288E #8E1D28
tetradic
#288E1D #1D608E #831D8E #8E4A1D
square
#288E1D #1D608E #831D8E #8E4A1D
split-complementary
#288E1D #4A1D8E #8E1D60
monochromatic
#0B2808 #1A5B13 #288E1D #36C127 #59DA4B

Accessibility & contrast

On white

4.22
#288E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#288E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E1D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E1D#FFFFFF#000000##000000
##288E1D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#0C8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e1d;
/* rgb */ color: rgb(40, 142, 29);
/* oklch */ color: oklch(56.7% 0.173 141.8);
Tailwind
colors: {
  custom: {
    50: '#73b062',
    500: '#288e1d',
    950: '#000000',
  },
}
SCSS
$custom: #288e1d;
$custom-light: #73b062;
$custom-dark: #000000;
JSON
{
  "hex": "#288e1d",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 114.159,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.17315,
    "h": 141.8
  },
  "luminance": 0.19886
}

Semantic roles & 50–950 ramp

primary
#288E1D
secondary
#B14ABD
accent
#3FE9D8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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