#407316#407316

#407316 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.1% C 0.133 H 134.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#407316
RGBrgb(64, 115, 22)
HSLhsl(93, 68%, 27%)
HSVhsv(93, 81%, 45%)
CMYKcmyk(44.3%, 0%, 80.9%, 54.9%)
CIE-LABlab(43.37, -33.29, 42.61)
CIE-LCHlch(43.37, 54.07, 128.01°)
OKLaboklab(50.07% -0.0933 0.0947)
OKLCHoklch(50.07% 0.133 134.6)
XYZxyz(8.3897, 13.4089, 2.9050)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407316 #491673
analogous
#6F7316 #407316 #16731B
triadic
#407316 #164073 #731640
tetradic
#407316 #166F73 #491673 #731B16
square
#407316 #166F73 #491673 #731B16
split-complementary
#407316 #1B1673 #73166F
monochromatic
#0E1A05 #23400C #407316 #5DA620 #79D72D

Accessibility & contrast

On white

5.70
#407316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#407316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407316
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407316#FFFFFF#000000##FFFFFF
##4073161.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#3F6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407316;
/* rgb */ color: rgb(64, 115, 22);
/* oklch */ color: oklch(50.1% 0.133 134.6);
Tailwind
colors: {
  custom: {
    50: '#7a9c5c',
    500: '#407316',
    950: '#000000',
  },
}
SCSS
$custom: #407316;
$custom-light: #7a9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#407316",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 92.903,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.13292,
    "h": 134.6
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#407316
secondary
#783CA9
accent
#3DEB9C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407316

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

Preview Lab → · Contrast checker → · Palette generator →

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