#288232#288232

#288232 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.144 H 145.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#288232
RGBrgb(40, 130, 50)
HSLhsl(127, 53%, 33%)
HSVhsv(127, 69%, 51%)
CMYKcmyk(69.2%, 0%, 61.5%, 49%)
CIE-LABlab(47.81, -43.55, 35.06)
CIE-LCHlch(47.81, 55.91, 141.17°)
OKLaboklab(53.56% -0.1178 0.0826)
OKLCHoklch(53.56% 0.144 145)
XYZxyz(9.4328, 16.6457, 5.7328)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288232 #822878
analogous
#4B8228 #288232 #28825F
triadic
#288232 #322882 #823228
tetradic
#288232 #284B82 #822878 #825F28
square
#288232 #284B82 #822878 #825F28
split-complementary
#288232 #5F2882 #82284B
monochromatic
#0B240E #1A5320 #288232 #36B144 #59CC65

Accessibility & contrast

On white

4.85
#288232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#288232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288232
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288232#FFFFFF#000000##FFFFFF
##2882321.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762A
Deuteranopia (green-blind)
#796F39
Tritanopia (blue-blind)
#0C7F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288232;
/* rgb */ color: rgb(40, 130, 50);
/* oklch */ color: oklch(53.6% 0.144 145.0);
Tailwind
colors: {
  custom: {
    50: '#6fa76d',
    500: '#288232',
    950: '#000000',
  },
}
SCSS
$custom: #288232;
$custom-light: #6fa76d;
$custom-dark: #000000;
JSON
{
  "hex": "#288232",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 126.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53558,
    "c": 0.14387,
    "h": 145
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#288232
secondary
#B155A7
accent
#4BCCDC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #288232

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

Preview Lab → · Contrast checker → · Palette generator →

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