#288E2C#288E2C

#288E2C is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.164 H 143.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#288E2C
RGBrgb(40, 142, 44)
HSLhsl(122, 56%, 36%)
HSVhsv(122, 72%, 56%)
CMYKcmyk(71.8%, 0%, 69%, 44.3%)
CIE-LABlab(51.81, -48.62, 42.28)
CIE-LCHlch(51.81, 64.43, 138.99°)
OKLaboklab(56.85% -0.1318 0.0974)
OKLCHoklch(56.85% 0.164 143.5)
XYZxyz(11.0020, 19.9778, 5.6587)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E2C #8E288A
analogous
#578E28 #288E2C #288E5F
triadic
#288E2C #2C288E #8E2C28
tetradic
#288E2C #28578E #8E288A #8E5F28
square
#288E2C #28578E #8E288A #8E5F28
split-complementary
#288E2C #5F288E #8E2857
monochromatic
#0D2F0E #1B5E1D #288E2C #35BE3B #5FD263

Accessibility & contrast

On white

4.20
#288E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#288E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E2C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E2C#FFFFFF#000000##000000
##288E2C1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801F
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#058A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e2c;
/* rgb */ color: rgb(40, 142, 44);
/* oklch */ color: oklch(56.9% 0.164 143.5);
Tailwind
colors: {
  custom: {
    50: '#72b06a',
    500: '#288e2c',
    950: '#000000',
  },
}
SCSS
$custom: #288e2c;
$custom-light: #72b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#288e2c",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 122.353,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.16385,
    "h": 143.5
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#288E2C
secondary
#B75BB4
accent
#48D9DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #288E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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