#288B22#288B22

#288B22 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.167 H 142.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#288B22
RGBrgb(40, 139, 34)
HSLhsl(117, 61%, 34%)
HSVhsv(117, 76%, 55%)
CMYKcmyk(71.2%, 0%, 75.5%, 45.5%)
CIE-LABlab(50.72, -48.48, 45.19)
CIE-LCHlch(50.72, 66.28, 137.01°)
OKLaboklab(55.93% -0.1319 0.1022)
OKLCHoklch(55.93% 0.167 142.3)
XYZxyz(10.3958, 19.0307, 4.6385)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B22 #85228B
analogous
#5D8B22 #288B22 #228B51
triadic
#288B22 #22288B #8B2228
tetradic
#288B22 #225D8B #85228B #8B5122
square
#288B22 #225D8B #85228B #8B5122
split-complementary
#288B22 #51228B #8B225D
monochromatic
#0C290A #1A5A16 #288B22 #36BC2E #5AD553

Accessibility & contrast

On white

4.37
#288B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#288B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B22
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B22#FFFFFF#000000##000000
##288B221.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0E
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#0D8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b22;
/* rgb */ color: rgb(40, 139, 34);
/* oklch */ color: oklch(55.9% 0.167 142.3);
Tailwind
colors: {
  custom: {
    50: '#72ae64',
    500: '#288b22',
    950: '#000000',
  },
}
SCSS
$custom: #288b22;
$custom-light: #72ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#288b22",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 116.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55926,
    "c": 0.16686,
    "h": 142.3
  },
  "luminance": 0.19032
}

Semantic roles & 50–950 ramp

primary
#288B22
secondary
#B350B8
accent
#44E4DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288B22

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

Preview Lab → · Contrast checker → · Palette generator →

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