#407116#407116

#407116 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.5% C 0.130 H 134.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#407116
RGBrgb(64, 113, 22)
HSLhsl(92, 67%, 26%)
HSVhsv(92, 81%, 44%)
CMYKcmyk(43.4%, 0%, 80.5%, 55.7%)
CIE-LABlab(42.70, -32.40, 41.96)
CIE-LCHlch(42.70, 53.02, 127.67°)
OKLaboklab(49.52% -0.0909 0.0933)
OKLCHoklch(49.52% 0.13 134.3)
XYZxyz(8.1641, 12.9577, 2.8298)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407116 #471671
analogous
#6E7116 #407116 #16711A
triadic
#407116 #164071 #711640
tetradic
#407116 #166E71 #471671 #711A16
square
#407116 #166E71 #471671 #711A16
split-complementary
#407116 #1A1671 #71166E
monochromatic
#0F1A05 #233E0C #407116 #5DA420 #7AD62C

Accessibility & contrast

On white

5.85
#407116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#407116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407116
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407116#FFFFFF#000000##FFFFFF
##4071161.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766701
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#3F6C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #407116;
/* rgb */ color: rgb(64, 113, 22);
/* oklch */ color: oklch(49.5% 0.130 134.3);
Tailwind
colors: {
  custom: {
    50: '#7a9a5b',
    500: '#407116',
    950: '#000000',
  },
}
SCSS
$custom: #407116;
$custom-light: #7a9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#407116",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 92.308,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4952,
    "c": 0.13028,
    "h": 134.3
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#407116
secondary
#763CA7
accent
#3EEA9B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407116

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

Preview Lab → · Contrast checker → · Palette generator →

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