#408331#408331

#408331 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.7% C 0.135 H 140.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#408331
RGBrgb(64, 131, 49)
HSLhsl(109, 46%, 35%)
HSVhsv(109, 63%, 51%)
CMYKcmyk(51.1%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.94, -37.84, 37.04)
CIE-LCHlch(48.94, 52.96, 135.61°)
OKLaboklab(54.71% -0.1037 0.0866)
OKLCHoklch(54.71% 0.135 140.1)
XYZxyz(10.7846, 17.5436, 5.7231)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408331 #743183
analogous
#698331 #408331 #31834B
triadic
#408331 #314083 #833140
tetradic
#408331 #316983 #743183 #834B31
square
#408331 #316983 #743183 #834B31
split-complementary
#408331 #4B3183 #833169
monochromatic
#142A10 #2A5620 #408331 #56B042 #79C668

Accessibility & contrast

On white

4.66
#408331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#408331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #408331
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408331#FFFFFF#000000##FFFFFF
##4083311.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#7E7238
Tritanopia (blue-blind)
#397F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408331;
/* rgb */ color: rgb(64, 131, 49);
/* oklch */ color: oklch(54.7% 0.135 140.1);
Tailwind
colors: {
  custom: {
    50: '#7ba86c',
    500: '#408331',
    950: '#000000',
  },
}
SCSS
$custom: #408331;
$custom-light: #7ba86c;
$custom-dark: #000000;
JSON
{
  "hex": "#408331",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 109.024,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54709,
    "c": 0.13512,
    "h": 140.1
  },
  "luminance": 0.17544
}

Semantic roles & 50–950 ramp

primary
#408331
secondary
#A062AE
accent
#53D5BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #408331

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

Preview Lab → · Contrast checker → · Palette generator →

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