#288231#288231

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

Color values

HEX#288231
RGBrgb(40, 130, 49)
HSLhsl(126, 53%, 33%)
HSVhsv(126, 69%, 51%)
CMYKcmyk(69.2%, 0%, 62.3%, 49%)
CIE-LABlab(47.80, -43.68, 35.53)
CIE-LCHlch(47.80, 56.31, 140.87°)
OKLaboklab(53.55% -0.1182 0.0835)
OKLCHoklch(53.55% 0.145 144.7)
XYZxyz(9.4115, 16.6371, 5.6204)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288231 #822879
analogous
#4C8228 #288231 #28825E
triadic
#288231 #312882 #823128
tetradic
#288231 #284C82 #822879 #825E28
square
#288231 #284C82 #822879 #825E28
split-complementary
#288231 #5E2882 #82284C
monochromatic
#0B240E #1A531F #288231 #36B143 #59CC64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288231#FFFFFF#000000##FFFFFF
##2882311.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)
#847628
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#0D7F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288231;
/* rgb */ color: rgb(40, 130, 49);
/* oklch */ color: oklch(53.5% 0.145 144.7);
Tailwind
colors: {
  custom: {
    50: '#6fa76c',
    500: '#288231',
    950: '#000000',
  },
}
SCSS
$custom: #288231;
$custom-light: #6fa76c;
$custom-dark: #000000;
JSON
{
  "hex": "#288231",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 126,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53546,
    "c": 0.14472,
    "h": 144.7
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

primary
#288231
secondary
#B155A8
accent
#4BCEDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #288231

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

Preview Lab → · Contrast checker → · Palette generator →

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