#288222#288222

#288222 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.156 H 142.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288222
RGBrgb(40, 130, 34)
HSLhsl(116, 59%, 32%)
HSVhsv(116, 74%, 51%)
CMYKcmyk(69.2%, 0%, 73.8%, 49%)
CIE-LABlab(47.66, -45.29, 42.07)
CIE-LCHlch(47.66, 61.82, 137.11°)
OKLaboklab(53.39% -0.1233 0.0956)
OKLCHoklch(53.39% 0.156 142.2)
XYZxyz(9.1459, 16.5309, 4.2219)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288222 #7C2282
analogous
#588222 #288222 #22824C
triadic
#288222 #222882 #822228
tetradic
#288222 #225882 #7C2282 #824C22
square
#288222 #225882 #7C2282 #824C22
split-complementary
#288222 #4C2282 #822258
monochromatic
#0A2109 #195115 #288222 #37B32F #56D14E

Accessibility & contrast

On white

4.88
#288222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#288222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288222
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288222#FFFFFF#000000##FFFFFF
##2882221.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857612
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#137E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288222;
/* rgb */ color: rgb(40, 130, 34);
/* oklch */ color: oklch(53.4% 0.156 142.2);
Tailwind
colors: {
  custom: {
    50: '#6fa763',
    500: '#288222',
    950: '#000000',
  },
}
SCSS
$custom: #288222;
$custom-light: #6fa763;
$custom-dark: #000000;
JSON
{
  "hex": "#288222",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 116.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.15604,
    "h": 142.2
  },
  "luminance": 0.16532
}

Semantic roles & 50–950 ramp

primary
#288222
secondary
#AD4CB4
accent
#46E2D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #288222

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

Preview Lab → · Contrast checker → · Palette generator →

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