#288131#288131

#288131 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.143 H 144.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#288131
RGBrgb(40, 129, 49)
HSLhsl(126, 53%, 33%)
HSVhsv(126, 69%, 51%)
CMYKcmyk(69%, 0%, 62%, 49.4%)
CIE-LABlab(47.46, -43.30, 35.14)
CIE-LCHlch(47.46, 55.77, 140.94°)
OKLaboklab(53.26% -0.1171 0.0827)
OKLCHoklch(53.26% 0.143 144.8)
XYZxyz(9.2791, 16.3724, 5.5763)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288131 #812878
analogous
#4B8128 #288131 #28815D
triadic
#288131 #312881 #813128
tetradic
#288131 #284B81 #812878 #815D28
square
#288131 #284B81 #812878 #815D28
split-complementary
#288131 #5D2881 #81284B
monochromatic
#0B240E #1A521F #288131 #36B043 #58CB64

Accessibility & contrast

On white

4.91
#288131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#288131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288131
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288131#FFFFFF#000000##FFFFFF
##2881311.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837528
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#0E7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288131;
/* rgb */ color: rgb(40, 129, 49);
/* oklch */ color: oklch(53.3% 0.143 144.8);
Tailwind
colors: {
  custom: {
    50: '#6ea66c',
    500: '#288131',
    950: '#000000',
  },
}
SCSS
$custom: #288131;
$custom-light: #6ea66c;
$custom-dark: #000000;
JSON
{
  "hex": "#288131",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 126.067,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53264,
    "c": 0.1434,
    "h": 144.8
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#288131
secondary
#B054A7
accent
#4CCDDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #288131

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

Preview Lab → · Contrast checker → · Palette generator →

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