#288E1C#288E1C

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

Color values

HEX#288E1C
RGBrgb(40, 142, 28)
HSLhsl(114, 67%, 33%)
HSVhsv(114, 80%, 56%)
CMYKcmyk(71.8%, 0%, 80.3%, 44.3%)
CIE-LABlab(51.70, -49.96, 48.26)
CIE-LCHlch(51.70, 69.46, 135.99°)
OKLaboklab(56.73% -0.1362 0.1077)
OKLCHoklch(56.73% 0.174 141.7)
XYZxyz(10.7571, 19.8798, 4.3687)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E1C #821C8E
analogous
#618E1C #288E1C #1C8E49
triadic
#288E1C #1C288E #8E1C28
tetradic
#288E1C #1C618E #821C8E #8E491C
square
#288E1C #1C618E #821C8E #8E491C
split-complementary
#288E1C #491C8E #8E1C61
monochromatic
#0B2808 #1A5B12 #288E1C #36C126 #59DB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E1C#FFFFFF#000000##000000
##288E1C1.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)
#867829
Tritanopia (blue-blind)
#0C8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e1c;
/* rgb */ color: rgb(40, 142, 28);
/* oklch */ color: oklch(56.7% 0.174 141.7);
Tailwind
colors: {
  custom: {
    50: '#73b062',
    500: '#288e1c',
    950: '#000000',
  },
}
SCSS
$custom: #288e1c;
$custom-light: #73b062;
$custom-dark: #000000;
JSON
{
  "hex": "#288e1c",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 113.684,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.17366,
    "h": 141.7
  },
  "luminance": 0.19881
}

Semantic roles & 50–950 ramp

primary
#288E1C
secondary
#B149BD
accent
#3EEAD8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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