#288C2B#288C2B

#288C2B is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.162 H 143.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288C2B
RGBrgb(40, 140, 43)
HSLhsl(122, 56%, 35%)
HSVhsv(122, 71%, 55%)
CMYKcmyk(71.4%, 0%, 69.3%, 45.1%)
CIE-LABlab(51.13, -48.01, 41.98)
CIE-LCHlch(51.13, 63.77, 138.84°)
OKLaboklab(56.29% -0.1302 0.0966)
OKLCHoklch(56.29% 0.162 143.4)
XYZxyz(10.6885, 19.3805, 5.4626)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C2B #8C2889
analogous
#578C28 #288C2B #288C5D
triadic
#288C2B #2B288C #8C2B28
tetradic
#288C2B #28578C #8C2889 #8C5D28
square
#288C2B #28578C #8C2889 #8C5D28
split-complementary
#288C2B #5D288C #8C2857
monochromatic
#0D2D0E #1A5C1C #288C2B #36BC3A #5ED161

Accessibility & contrast

On white

4.31
#288C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#288C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C2B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C2B#FFFFFF#000000##000000
##288C2B1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#078878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c2b;
/* rgb */ color: rgb(40, 140, 43);
/* oklch */ color: oklch(56.3% 0.162 143.4);
Tailwind
colors: {
  custom: {
    50: '#71af69',
    500: '#288c2b',
    950: '#000000',
  },
}
SCSS
$custom: #288c2b;
$custom-light: #71af69;
$custom-dark: #000000;
JSON
{
  "hex": "#288c2b",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 121.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.16212,
    "h": 143.4
  },
  "luminance": 0.19382
}

Semantic roles & 50–950 ramp

primary
#288C2B
secondary
#B65AB3
accent
#49DADF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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