#288224#288224

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

Color values

HEX#288224
RGBrgb(40, 130, 36)
HSLhsl(117, 57%, 33%)
HSVhsv(117, 72%, 51%)
CMYKcmyk(69.2%, 0%, 72.3%, 49%)
CIE-LABlab(47.68, -45.11, 41.27)
CIE-LCHlch(47.68, 61.14, 137.54°)
OKLaboklab(53.41% -0.1227 0.0942)
OKLCHoklch(53.41% 0.155 142.5)
XYZxyz(9.1756, 16.5428, 4.3782)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288224 #7E2482
analogous
#578224 #288224 #24824F
triadic
#288224 #242882 #822428
tetradic
#288224 #245782 #7E2482 #824F24
square
#288224 #245782 #7E2482 #824F24
split-complementary
#288224 #4F2482 #822457
monochromatic
#0B2209 #195217 #288224 #37B231 #57CF51

Accessibility & contrast

On white

4.87
#288224 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #288224
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288224#FFFFFF#000000##FFFFFF
##2882241.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288224;
/* rgb */ color: rgb(40, 130, 36);
/* oklch */ color: oklch(53.4% 0.155 142.5);
Tailwind
colors: {
  custom: {
    50: '#6fa764',
    500: '#288224',
    950: '#000000',
  },
}
SCSS
$custom: #288224;
$custom-light: #6fa764;
$custom-dark: #000000;
JSON
{
  "hex": "#288224",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 36
  },
  "hsl": {
    "h": 117.447,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.15471,
    "h": 142.5
  },
  "luminance": 0.16544
}

Semantic roles & 50–950 ramp

primary
#288224
secondary
#AF4FB3
accent
#48E0D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #288224

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

Preview Lab → · Contrast checker → · Palette generator →

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