#407617#407617

#407617 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 50.9% C 0.136 H 135.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#407617
RGBrgb(64, 118, 23)
HSLhsl(94, 67%, 28%)
HSVhsv(94, 81%, 46%)
CMYKcmyk(45.8%, 0%, 80.5%, 53.7%)
CIE-LABlab(44.39, -34.55, 43.23)
CIE-LCHlch(44.39, 55.34, 128.63°)
OKLaboklab(50.91% -0.0966 0.0961)
OKLCHoklch(50.91% 0.136 135.1)
XYZxyz(8.7472, 14.1082, 3.0727)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407617 #4D1776
analogous
#707617 #407617 #17761D
triadic
#407617 #174076 #761740
tetradic
#407617 #177076 #4D1776 #761D17
square
#407617 #177076 #4D1776 #761D17
split-complementary
#407617 #1D1776 #761770
monochromatic
#0E1A05 #24430D #407617 #5CA921 #78D731

Accessibility & contrast

On white

5.49
#407617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#407617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407617
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407617#FFFFFF#000000##FFFFFF
##4076171.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#3E7164
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #407617;
/* rgb */ color: rgb(64, 118, 23);
/* oklch */ color: oklch(50.9% 0.136 135.1);
Tailwind
colors: {
  custom: {
    50: '#7a9e5c',
    500: '#407617',
    950: '#000000',
  },
}
SCSS
$custom: #407617;
$custom-light: #7a9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#407617",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 94.105,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.13629,
    "h": 135.1
  },
  "luminance": 0.14109
}

Semantic roles & 50–950 ramp

primary
#407617
secondary
#7C3EAB
accent
#3EEAA0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407617

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

Preview Lab → · Contrast checker → · Palette generator →

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