#417718#417718

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

Color values

HEX#417718
RGBrgb(65, 119, 24)
HSLhsl(94, 66%, 28%)
HSVhsv(94, 80%, 47%)
CMYKcmyk(45.4%, 0%, 79.8%, 53.3%)
CIE-LABlab(44.78, -34.57, 43.27)
CIE-LCHlch(44.78, 55.38, 128.62°)
OKLaboklab(51.24% -0.0967 0.0964)
OKLCHoklch(51.24% 0.136 135.1)
XYZxyz(8.9415, 14.3829, 3.1690)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417718 #4E1877
analogous
#707718 #417718 #18771E
triadic
#417718 #184177 #771841
tetradic
#417718 #187077 #4E1877 #771E18
square
#417718 #187077 #4E1877 #771E18
split-complementary
#417718 #1E1877 #771870
monochromatic
#0E1905 #25440E #417718 #5DAA22 #7AD633

Accessibility & contrast

On white

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

On black

3.88
#417718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##417718#FFFFFF#000000##FFFFFF
##4177181.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417718;
/* rgb */ color: rgb(65, 119, 24);
/* oklch */ color: oklch(51.2% 0.136 135.1);
Tailwind
colors: {
  custom: {
    50: '#7b9f5d',
    500: '#417718',
    950: '#000000',
  },
}
SCSS
$custom: #417718;
$custom-light: #7b9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#417718",
  "rgb": {
    "r": 65,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 94.105,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51241,
    "c": 0.13649,
    "h": 135.1
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#417718
secondary
#7D3FAC
accent
#3EE9A0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #417718

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

Preview Lab → · Contrast checker → · Palette generator →

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