#288C1E#288C1E

#288C1E is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.170 H 141.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#288C1E
RGBrgb(40, 140, 30)
HSLhsl(115, 65%, 33%)
HSVhsv(115, 79%, 55%)
CMYKcmyk(71.4%, 0%, 78.6%, 45.1%)
CIE-LABlab(51.04, -49.14, 46.94)
CIE-LCHlch(51.04, 67.96, 136.31°)
OKLaboklab(56.18% -0.1339 0.1052)
OKLCHoklch(56.18% 0.17 141.8)
XYZxyz(10.4869, 19.2999, 4.4006)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C1E #821E8C
analogous
#5F8C1E #288C1E #1E8C4B
triadic
#288C1E #1E288C #8C1E28
tetradic
#288C1E #1E5F8C #821E8C #8C4B1E
square
#288C1E #1E5F8C #821E8C #8C4B1E
split-complementary
#288C1E #4B1E8C #8C1E5F
monochromatic
#0B2708 #1A5A13 #288C1E #36BE29 #59D94C

Accessibility & contrast

On white

4.32
#288C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#288C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C1E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C1E#FFFFFF#000000##000000
##288C1E1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E03
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#0D8877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c1e;
/* rgb */ color: rgb(40, 140, 30);
/* oklch */ color: oklch(56.2% 0.170 141.8);
Tailwind
colors: {
  custom: {
    50: '#72af63',
    500: '#288c1e',
    950: '#000000',
  },
}
SCSS
$custom: #288c1e;
$custom-light: #72af63;
$custom-dark: #000000;
JSON
{
  "hex": "#288c1e",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 114.545,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56177,
    "c": 0.17032,
    "h": 141.8
  },
  "luminance": 0.19301
}

Semantic roles & 50–950 ramp

primary
#288C1E
secondary
#B14BBB
accent
#40E8D8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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