#417714#417714

#417714 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.2% C 0.139 H 134.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#417714
RGBrgb(65, 119, 20)
HSLhsl(93, 71%, 27%)
HSVhsv(93, 83%, 47%)
CMYKcmyk(45.4%, 0%, 83.2%, 53.3%)
CIE-LABlab(44.76, -34.80, 44.57)
CIE-LCHlch(44.76, 56.55, 127.98°)
OKLaboklab(51.22% -0.0976 0.0985)
OKLCHoklch(51.22% 0.139 134.7)
XYZxyz(8.9029, 14.3675, 2.9658)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417714 #4A1477
analogous
#737714 #417714 #147718
triadic
#417714 #144177 #771441
tetradic
#417714 #147377 #4A1477 #771814
square
#417714 #147377 #4A1477 #771814
split-complementary
#417714 #181477 #771473
monochromatic
#0E1A04 #24430B #417714 #5EAB1D #7BDB2A

Accessibility & contrast

On white

5.42
#417714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#417714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417714
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417714#FFFFFF#000000##FFFFFF
##4177141.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#756820
Tritanopia (blue-blind)
#407265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #417714;
/* rgb */ color: rgb(65, 119, 20);
/* oklch */ color: oklch(51.2% 0.139 134.7);
Tailwind
colors: {
  custom: {
    50: '#7b9f5b',
    500: '#417714',
    950: '#000000',
  },
}
SCSS
$custom: #417714;
$custom-light: #7b9f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#417714",
  "rgb": {
    "r": 65,
    "g": 119,
    "b": 20
  },
  "hsl": {
    "h": 92.727,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51216,
    "c": 0.13861,
    "h": 134.7
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#417714
secondary
#793AAD
accent
#3AEE9C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417714

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

Preview Lab → · Contrast checker → · Palette generator →

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