#407016#407016

#407016 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.2% C 0.129 H 134.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#407016
RGBrgb(64, 112, 22)
HSLhsl(92, 67%, 26%)
HSVhsv(92, 80%, 44%)
CMYKcmyk(42.9%, 0%, 80.4%, 56.1%)
CIE-LABlab(42.36, -31.95, 41.64)
CIE-LCHlch(42.36, 52.49, 127.50°)
OKLaboklab(49.24% -0.0897 0.0926)
OKLCHoklch(49.24% 0.129 134.1)
XYZxyz(8.0532, 12.7358, 2.7928)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407016 #461670
analogous
#6D7016 #407016 #167019
triadic
#407016 #164070 #701640
tetradic
#407016 #166D70 #461670 #701916
square
#407016 #166D70 #461670 #701916
split-complementary
#407016 #191670 #70166D
monochromatic
#0F1A05 #233D0C #407016 #5DA320 #7BD52B

Accessibility & contrast

On white

5.92
#407016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#407016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407016
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407016#FFFFFF#000000##FFFFFF
##4070161.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756601
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#406B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #407016;
/* rgb */ color: rgb(64, 112, 22);
/* oklch */ color: oklch(49.2% 0.129 134.1);
Tailwind
colors: {
  custom: {
    50: '#7a995b',
    500: '#407016',
    950: '#000000',
  },
}
SCSS
$custom: #407016;
$custom-light: #7a995b;
$custom-dark: #000000;
JSON
{
  "hex": "#407016",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 92,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49244,
    "c": 0.12895,
    "h": 134.1
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#407016
secondary
#743CA6
accent
#3EEA9A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407016

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

Preview Lab → · Contrast checker → · Palette generator →

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