#418017#418017

#418017 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.7% C 0.149 H 136.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#418017
RGBrgb(65, 128, 23)
HSLhsl(96, 70%, 30%)
HSVhsv(96, 82%, 50%)
CMYKcmyk(49.2%, 0%, 82%, 49.8%)
CIE-LABlab(47.78, -38.46, 46.44)
CIE-LCHlch(47.78, 60.30, 129.63°)
OKLaboklab(53.71% -0.1072 0.1028)
OKLCHoklch(53.71% 0.149 136.2)
XYZxyz(10.0535, 16.6234, 3.4893)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418017 #561780
analogous
#768017 #418017 #178022
triadic
#418017 #174180 #801741
tetradic
#418017 #177680 #561780 #802217
square
#418017 #177680 #561780 #802217
split-complementary
#418017 #221780 #801776
monochromatic
#0D1A05 #274C0E #418017 #5BB420 #78DB36

Accessibility & contrast

On white

4.86
#418017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#418017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418017
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418017#FFFFFF#000000##FFFFFF
##4180171.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#3E7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #418017;
/* rgb */ color: rgb(65, 128, 23);
/* oklch */ color: oklch(53.7% 0.149 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ca55e',
    500: '#418017',
    950: '#000000',
  },
}
SCSS
$custom: #418017;
$custom-light: #7ca55e;
$custom-dark: #000000;
JSON
{
  "hex": "#418017",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 96,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53707,
    "c": 0.14855,
    "h": 136.2
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#418017
secondary
#853EB4
accent
#3BECA6
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #418017

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

Preview Lab → · Contrast checker → · Palette generator →

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