#408310#408310

#408310 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.4% C 0.156 H 136.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#408310
RGBrgb(64, 131, 16)
HSLhsl(95, 78%, 29%)
HSVhsv(95, 88%, 51%)
CMYKcmyk(51.1%, 0%, 87.8%, 48.6%)
CIE-LABlab(48.71, -40.36, 49.23)
CIE-LCHlch(48.71, 63.66, 129.34°)
OKLaboklab(54.45% -0.1126 0.1077)
OKLCHoklch(54.45% 0.156 136.3)
XYZxyz(10.3239, 17.3593, 3.2968)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408310 #531083
analogous
#7A8310 #408310 #10831A
triadic
#408310 #104083 #831040
tetradic
#408310 #107A83 #531083 #831A10
square
#408310 #107A83 #531083 #831A10
split-complementary
#408310 #1A1083 #83107A
monochromatic
#0D1B03 #254C09 #408310 #5BBA17 #77E529

Accessibility & contrast

On white

4.70
#408310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#408310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408310
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408310#FFFFFF#000000##FFFFFF
##4083101.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#3D7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408310;
/* rgb */ color: rgb(64, 131, 16);
/* oklch */ color: oklch(54.4% 0.156 136.3);
Tailwind
colors: {
  custom: {
    50: '#7ca85c',
    500: '#408310',
    950: '#000000',
  },
}
SCSS
$custom: #408310;
$custom-light: #7ca85c;
$custom-dark: #000000;
JSON
{
  "hex": "#408310",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 94.957,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.15579,
    "h": 136.3
  },
  "luminance": 0.1736
}

Semantic roles & 50–950 ramp

primary
#408310
secondary
#8236B9
accent
#33F5A4
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #408310

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

Preview Lab → · Contrast checker → · Palette generator →

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