#408131#408131

#408131 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.2% C 0.132 H 140.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#408131
RGBrgb(64, 129, 49)
HSLhsl(109, 45%, 35%)
HSVhsv(109, 62%, 51%)
CMYKcmyk(50.4%, 0%, 62%, 49.4%)
CIE-LABlab(48.27, -36.99, 36.29)
CIE-LCHlch(48.27, 51.82, 135.55°)
OKLaboklab(54.16% -0.1014 0.085)
OKLCHoklch(54.16% 0.132 140)
XYZxyz(10.5186, 17.0115, 5.6344)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408131 #723181
analogous
#688131 #408131 #31814A
triadic
#408131 #314081 #813140
tetradic
#408131 #316881 #723181 #814A31
square
#408131 #316881 #723181 #814A31
split-complementary
#408131 #4A3181 #813168
monochromatic
#14280F #2A5520 #408131 #56AD42 #79C567

Accessibility & contrast

On white

4.77
#408131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#408131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408131
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408131#FFFFFF#000000##FFFFFF
##4081311.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#7C7037
Tritanopia (blue-blind)
#3A7D70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #408131;
/* rgb */ color: rgb(64, 129, 49);
/* oklch */ color: oklch(54.2% 0.132 140.0);
Tailwind
colors: {
  custom: {
    50: '#7ba66c',
    500: '#408131',
    950: '#000000',
  },
}
SCSS
$custom: #408131;
$custom-light: #7ba66c;
$custom-dark: #000000;
JSON
{
  "hex": "#408131",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 108.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54164,
    "c": 0.1323,
    "h": 140
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#408131
secondary
#9F61AD
accent
#53D5BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #408131

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

Preview Lab → · Contrast checker → · Palette generator →

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