#417518#417518

#417518 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.7% C 0.134 H 134.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#417518
RGBrgb(65, 117, 24)
HSLhsl(94, 66%, 28%)
HSVhsv(94, 79%, 46%)
CMYKcmyk(44.4%, 0%, 79.5%, 54.1%)
CIE-LABlab(44.11, -33.69, 42.62)
CIE-LCHlch(44.11, 54.33, 128.32°)
OKLaboklab(50.69% -0.0943 0.095)
OKLCHoklch(50.69% 0.134 134.8)
XYZxyz(8.7059, 13.9119, 3.0905)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417518 #4C1875
analogous
#707518 #417518 #18751D
triadic
#417518 #184175 #751841
tetradic
#417518 #187075 #4C1875 #751D18
square
#417518 #187075 #4C1875 #751D18
split-complementary
#417518 #1D1875 #751870
monochromatic
#0E1905 #25420E #417518 #5DA822 #7AD532

Accessibility & contrast

On white

5.55
#417518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#417518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417518
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417518#FFFFFF#000000##FFFFFF
##4175181.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#407063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #417518;
/* rgb */ color: rgb(65, 117, 24);
/* oklch */ color: oklch(50.7% 0.134 134.8);
Tailwind
colors: {
  custom: {
    50: '#7b9d5d',
    500: '#417518',
    950: '#000000',
  },
}
SCSS
$custom: #417518;
$custom-light: #7b9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#417518",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 93.548,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5069,
    "c": 0.13386,
    "h": 134.8
  },
  "luminance": 0.13912
}

Semantic roles & 50–950 ramp

primary
#417518
secondary
#7B3FAA
accent
#3FE99E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417518

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

Preview Lab → · Contrast checker → · Palette generator →

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