#288A22#288A22

#288A22 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.166 H 142.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#288A22
RGBrgb(40, 138, 34)
HSLhsl(117, 60%, 34%)
HSVhsv(117, 75%, 54%)
CMYKcmyk(71%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.38, -48.13, 44.85)
CIE-LCHlch(50.38, 65.79, 137.02°)
OKLaboklab(55.65% -0.131 0.1014)
OKLCHoklch(55.65% 0.166 142.2)
XYZxyz(10.2517, 18.7425, 4.5904)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A22 #84228A
analogous
#5C8A22 #288A22 #228A50
triadic
#288A22 #22288A #8A2228
tetradic
#288A22 #225C8A #84228A #8A5022
square
#288A22 #225C8A #84228A #8A5022
split-complementary
#288A22 #50228A #8A225C
monochromatic
#0C280A #1A5916 #288A22 #36BB2E #5AD452

Accessibility & contrast

On white

4.42
#288A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#288A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A22
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A22#FFFFFF#000000##000000
##288A221.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#0E8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a22;
/* rgb */ color: rgb(40, 138, 34);
/* oklch */ color: oklch(55.6% 0.166 142.2);
Tailwind
colors: {
  custom: {
    50: '#71ad64',
    500: '#288a22',
    950: '#000000',
  },
}
SCSS
$custom: #288a22;
$custom-light: #71ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#288a22",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 116.538,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55645,
    "c": 0.16568,
    "h": 142.2
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#288A22
secondary
#B250B8
accent
#44E4DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288A22

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

Preview Lab → · Contrast checker → · Palette generator →

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