#288D1E#288D1E

#288D1E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.171 H 141.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#288D1E
RGBrgb(40, 141, 30)
HSLhsl(115, 65%, 34%)
HSVhsv(115, 79%, 55%)
CMYKcmyk(71.6%, 0%, 78.7%, 44.7%)
CIE-LABlab(51.37, -49.48, 47.27)
CIE-LCHlch(51.37, 68.43, 136.31°)
OKLaboklab(56.46% -0.1348 0.1059)
OKLCHoklch(56.46% 0.171 141.8)
XYZxyz(10.6337, 19.5935, 4.4496)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D1E #831E8D
analogous
#5F8D1E #288D1E #1E8D4B
triadic
#288D1E #1E288D #8D1E28
tetradic
#288D1E #1E5F8D #831E8D #8D4B1E
square
#288D1E #1E5F8D #831E8D #8D4B1E
split-complementary
#288D1E #4B1E8D #8D1E5F
monochromatic
#0B2809 #1A5B13 #288D1E #36BF29 #59D94C

Accessibility & contrast

On white

4.27
#288D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#288D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D1E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D1E#FFFFFF#000000##000000
##288D1E1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#0D8978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288d1e;
/* rgb */ color: rgb(40, 141, 30);
/* oklch */ color: oklch(56.5% 0.171 141.8);
Tailwind
colors: {
  custom: {
    50: '#72af63',
    500: '#288d1e',
    950: '#000000',
  },
}
SCSS
$custom: #288d1e;
$custom-light: #72af63;
$custom-dark: #000000;
JSON
{
  "hex": "#288d1e",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 114.595,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.17148,
    "h": 141.8
  },
  "luminance": 0.19595
}

Semantic roles & 50–950 ramp

primary
#288D1E
secondary
#B14BBC
accent
#40E8D9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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