#288C22#288C22

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

Color values

HEX#288C22
RGBrgb(40, 140, 34)
HSLhsl(117, 61%, 34%)
HSVhsv(117, 76%, 55%)
CMYKcmyk(71.4%, 0%, 75.7%, 45.1%)
CIE-LABlab(51.06, -48.83, 45.53)
CIE-LCHlch(51.06, 66.76, 137.00°)
OKLaboklab(56.21% -0.1329 0.1029)
OKLCHoklch(56.21% 0.168 142.3)
XYZxyz(10.5413, 19.3216, 4.6870)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C22 #86228C
analogous
#5D8C22 #288C22 #228C51
triadic
#288C22 #22288C #8C2228
tetradic
#288C22 #225D8C #86228C #8C5122
square
#288C22 #225D8C #86228C #8C5122
split-complementary
#288C22 #51228C #8C225D
monochromatic
#0C2A0A #1A5B16 #288C22 #36BD2E #5BD553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288C22#FFFFFF#000000##000000
##288C221.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)
#8F7E0D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#0C8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c22;
/* rgb */ color: rgb(40, 140, 34);
/* oklch */ color: oklch(56.2% 0.168 142.3);
Tailwind
colors: {
  custom: {
    50: '#72af65',
    500: '#288c22',
    950: '#000000',
  },
}
SCSS
$custom: #288c22;
$custom-light: #72af65;
$custom-dark: #000000;
JSON
{
  "hex": "#288c22",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 116.604,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.16805,
    "h": 142.3
  },
  "luminance": 0.19323
}

Semantic roles & 50–950 ramp

primary
#288C22
secondary
#B351B9
accent
#44E4DB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288C22

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

Preview Lab → · Contrast checker → · Palette generator →

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