#288822#288822

#288822 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.163 H 142.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#288822
RGBrgb(40, 136, 34)
HSLhsl(116, 60%, 33%)
HSVhsv(116, 75%, 53%)
CMYKcmyk(70.6%, 0%, 75%, 46.7%)
CIE-LABlab(49.71, -47.43, 44.16)
CIE-LCHlch(49.71, 64.81, 137.04°)
OKLaboklab(55.08% -0.1291 0.1)
OKLCHoklch(55.08% 0.163 142.2)
XYZxyz(9.9674, 18.1739, 4.4957)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288822 #822288
analogous
#5B8822 #288822 #22884F
triadic
#288822 #222888 #882228
tetradic
#288822 #225B88 #822288 #884F22
square
#288822 #225B88 #822288 #884F22
split-complementary
#288822 #4F2288 #88225B
monochromatic
#0B260A #1A5716 #288822 #36B92E #59D351

Accessibility & contrast

On white

4.53
#288822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#288822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288822
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288822#FFFFFF#000000##000000
##2888221.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0F
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#0F8474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #288822;
/* rgb */ color: rgb(40, 136, 34);
/* oklch */ color: oklch(55.1% 0.163 142.2);
Tailwind
colors: {
  custom: {
    50: '#71ac64',
    500: '#288822',
    950: '#000000',
  },
}
SCSS
$custom: #288822;
$custom-light: #71ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#288822",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 116.471,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.1633,
    "h": 142.2
  },
  "luminance": 0.18175
}

Semantic roles & 50–950 ramp

primary
#288822
secondary
#B14FB7
accent
#45E3DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288822

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

Preview Lab → · Contrast checker → · Palette generator →

#288822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva