#417018#417018

#417018 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.3% C 0.127 H 133.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#417018
RGBrgb(65, 112, 24)
HSLhsl(92, 65%, 27%)
HSVhsv(92, 79%, 44%)
CMYKcmyk(42%, 0%, 78.6%, 56.1%)
CIE-LABlab(42.43, -31.45, 41.00)
CIE-LCHlch(42.43, 51.67, 127.50°)
OKLaboklab(49.31% -0.0883 0.0916)
OKLCHoklch(49.31% 0.127 133.9)
XYZxyz(8.1389, 12.7777, 2.9015)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417018 #471870
analogous
#6D7018 #417018 #18701B
triadic
#417018 #184170 #701841
tetradic
#417018 #186D70 #471870 #701B18
square
#417018 #186D70 #471870 #701B18
split-complementary
#417018 #1B1870 #70186D
monochromatic
#0F1905 #243E0D #417018 #5EA223 #7CD330

Accessibility & contrast

On white

5.91
#417018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#417018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417018
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417018#FFFFFF#000000##FFFFFF
##4170181.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6E6321
Tritanopia (blue-blind)
#416B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #417018;
/* rgb */ color: rgb(65, 112, 24);
/* oklch */ color: oklch(49.3% 0.127 133.9);
Tailwind
colors: {
  custom: {
    50: '#7a995c',
    500: '#417018',
    950: '#000000',
  },
}
SCSS
$custom: #417018;
$custom-light: #7a995c;
$custom-dark: #000000;
JSON
{
  "hex": "#417018",
  "rgb": {
    "r": 65,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 92.045,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49314,
    "c": 0.12722,
    "h": 133.9
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

primary
#417018
secondary
#753EA5
accent
#40E89A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417018

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

Preview Lab → · Contrast checker → · Palette generator →

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