#288422#288422

#288422 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.158 H 142.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#288422
RGBrgb(40, 132, 34)
HSLhsl(116, 59%, 33%)
HSVhsv(116, 74%, 52%)
CMYKcmyk(69.7%, 0%, 74.2%, 48.2%)
CIE-LABlab(48.35, -46.01, 42.77)
CIE-LCHlch(48.35, 62.82, 137.09°)
OKLaboklab(53.96% -0.1252 0.0971)
OKLCHoklch(53.96% 0.158 142.2)
XYZxyz(9.4145, 17.0681, 4.3114)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288422 #7E2284
analogous
#598422 #288422 #22844D
triadic
#288422 #222884 #842228
tetradic
#288422 #225984 #7E2284 #844D22
square
#288422 #225984 #7E2284 #844D22
split-complementary
#288422 #4D2284 #842259
monochromatic
#0B2309 #195315 #288422 #37B52F #57D24F

Accessibility & contrast

On white

4.76
#288422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#288422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288422
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288422#FFFFFF#000000##FFFFFF
##2884221.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877711
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#128071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288422;
/* rgb */ color: rgb(40, 132, 34);
/* oklch */ color: oklch(54.0% 0.158 142.2);
Tailwind
colors: {
  custom: {
    50: '#70a964',
    500: '#288422',
    950: '#000000',
  },
}
SCSS
$custom: #288422;
$custom-light: #70a964;
$custom-dark: #000000;
JSON
{
  "hex": "#288422",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 116.327,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.15848,
    "h": 142.2
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#288422
secondary
#AF4DB5
accent
#46E2D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #288422

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

Preview Lab → · Contrast checker → · Palette generator →

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