#288E1E#288E1E

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

Color values

HEX#288E1E
RGBrgb(40, 142, 30)
HSLhsl(115, 65%, 34%)
HSVhsv(115, 79%, 56%)
CMYKcmyk(71.8%, 0%, 78.9%, 44.3%)
CIE-LABlab(51.71, -49.82, 47.60)
CIE-LCHlch(51.71, 68.91, 136.31°)
OKLaboklab(56.74% -0.1358 0.1066)
OKLCHoklch(56.74% 0.173 141.9)
XYZxyz(10.7818, 19.8897, 4.4989)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E1E #841E8E
analogous
#608E1E #288E1E #1E8E4C
triadic
#288E1E #1E288E #8E1E28
tetradic
#288E1E #1E608E #841E8E #8E4C1E
square
#288E1E #1E608E #841E8E #8E4C1E
split-complementary
#288E1E #4C1E8E #8E1E60
monochromatic
#0C2909 #1A5B13 #288E1E #36C129 #5AD94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E1E#FFFFFF#000000##000000
##288E1E1.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)
#928002
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#0C8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e1e;
/* rgb */ color: rgb(40, 142, 30);
/* oklch */ color: oklch(56.7% 0.173 141.9);
Tailwind
colors: {
  custom: {
    50: '#72b063',
    500: '#288e1e',
    950: '#000000',
  },
}
SCSS
$custom: #288e1e;
$custom-light: #72b063;
$custom-dark: #000000;
JSON
{
  "hex": "#288e1e",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 114.643,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.17263,
    "h": 141.9
  },
  "luminance": 0.19891
}

Semantic roles & 50–950 ramp

primary
#288E1E
secondary
#B24CBC
accent
#40E8D9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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