#417218#417218

#417218 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.9% C 0.130 H 134.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#417218
RGBrgb(65, 114, 24)
HSLhsl(93, 65%, 27%)
HSVhsv(93, 79%, 45%)
CMYKcmyk(43%, 0%, 78.9%, 55.3%)
CIE-LABlab(43.10, -32.36, 41.65)
CIE-LCHlch(43.10, 52.74, 127.84°)
OKLaboklab(49.86% -0.0907 0.093)
OKLCHoklch(49.86% 0.13 134.3)
XYZxyz(8.3620, 13.2240, 2.9759)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417218 #491872
analogous
#6E7218 #417218 #18721C
triadic
#417218 #184172 #721841
tetradic
#417218 #186E72 #491872 #721C18
square
#417218 #186E72 #491872 #721C18
split-complementary
#417218 #1C1872 #72186E
monochromatic
#0E1905 #243F0D #417218 #5EA523 #7BD431

Accessibility & contrast

On white

5.76
#417218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#417218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417218
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417218#FFFFFF#000000##FFFFFF
##4172181.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776804
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#406D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #417218;
/* rgb */ color: rgb(65, 114, 24);
/* oklch */ color: oklch(49.9% 0.130 134.3);
Tailwind
colors: {
  custom: {
    50: '#7a9b5c',
    500: '#417218',
    950: '#000000',
  },
}
SCSS
$custom: #417218;
$custom-light: #7a9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417218",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 92.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49865,
    "c": 0.12989,
    "h": 134.3
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#417218
secondary
#783EA7
accent
#40E89B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417218

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

Preview Lab → · Contrast checker → · Palette generator →

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