#288731#288731

#288731 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.151 H 144.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#288731
RGBrgb(40, 135, 49)
HSLhsl(126, 54%, 34%)
HSVhsv(126, 70%, 53%)
CMYKcmyk(70.4%, 0%, 63.7%, 47.1%)
CIE-LABlab(49.50, -45.54, 37.47)
CIE-LCHlch(49.50, 58.97, 140.55°)
OKLaboklab(54.95% -0.1232 0.0877)
OKLCHoklch(54.95% 0.151 144.6)
XYZxyz(10.0928, 17.9997, 5.8475)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288731 #87287E
analogous
#4F8728 #288731 #288761
triadic
#288731 #312887 #873128
tetradic
#288731 #284F87 #87287E #876128
square
#288731 #284F87 #87287E #876128
split-complementary
#288731 #612887 #87284F
monochromatic
#0C290F #1A5820 #288731 #36B642 #5BCE66

Accessibility & contrast

On white

4.57
#288731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#288731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288731
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288731#FFFFFF#000000##000000
##2887311.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A27
Deuteranopia (green-blind)
#7E7338
Tritanopia (blue-blind)
#088375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #288731;
/* rgb */ color: rgb(40, 135, 49);
/* oklch */ color: oklch(54.9% 0.151 144.6);
Tailwind
colors: {
  custom: {
    50: '#70ab6c',
    500: '#288731',
    950: '#000000',
  },
}
SCSS
$custom: #288731;
$custom-light: #70ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#288731",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 125.684,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54949,
    "c": 0.15123,
    "h": 144.6
  },
  "luminance": 0.18001
}

Semantic roles & 50–950 ramp

primary
#288731
secondary
#B457AB
accent
#4AD0DE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288731

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

Preview Lab → · Contrast checker → · Palette generator →

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