#288922#288922

#288922 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.164 H 142.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#288922
RGBrgb(40, 137, 34)
HSLhsl(117, 60%, 34%)
HSVhsv(117, 75%, 54%)
CMYKcmyk(70.8%, 0%, 75.2%, 46.3%)
CIE-LABlab(50.05, -47.78, 44.50)
CIE-LCHlch(50.05, 65.30, 137.03°)
OKLaboklab(55.36% -0.13 0.1007)
OKLCHoklch(55.36% 0.164 142.2)
XYZxyz(10.1089, 18.4568, 4.5428)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288922 #832289
analogous
#5B8922 #288922 #22894F
triadic
#288922 #222889 #892228
tetradic
#288922 #225B89 #832289 #894F22
square
#288922 #225B89 #832289 #894F22
split-complementary
#288922 #4F2289 #89225B
monochromatic
#0B270A #1A5816 #288922 #36BA2E #59D451

Accessibility & contrast

On white

4.48
#288922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#288922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288922
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288922#FFFFFF#000000##000000
##2889221.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0F
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#0F8575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #288922;
/* rgb */ color: rgb(40, 137, 34);
/* oklch */ color: oklch(55.4% 0.164 142.2);
Tailwind
colors: {
  custom: {
    50: '#71ac64',
    500: '#288922',
    950: '#000000',
  },
}
SCSS
$custom: #288922;
$custom-light: #71ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#288922",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 116.505,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55364,
    "c": 0.16449,
    "h": 142.2
  },
  "luminance": 0.18458
}

Semantic roles & 50–950 ramp

primary
#288922
secondary
#B14FB8
accent
#44E3DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288922

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

Preview Lab → · Contrast checker → · Palette generator →

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