#418E17#418E17

#418E17 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.5% C 0.166 H 137.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#418E17
RGBrgb(65, 142, 23)
HSLhsl(99, 72%, 32%)
HSVhsv(99, 84%, 56%)
CMYKcmyk(54.2%, 0%, 83.8%, 44.3%)
CIE-LABlab(52.43, -44.08, 50.73)
CIE-LCHlch(52.43, 67.21, 130.99°)
OKLaboklab(57.54% -0.1223 0.1118)
OKLCHoklch(57.54% 0.166 137.6)
XYZxyz(12.0072, 20.5308, 4.1406)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418E17 #64178E
analogous
#7C8E17 #418E17 #178E29
triadic
#418E17 #17418E #8E1741
tetradic
#418E17 #177C8E #64178E #8E2917
square
#418E17 #177C8E #64178E #8E2917
split-complementary
#418E17 #29178E #8E177C
monochromatic
#112506 #29590E #418E17 #59C320 #78E03F

Accessibility & contrast

On white

4.11
#418E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#418E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418E17
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418E17#FFFFFF#000000##000000
##418E171.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#3B8979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #418e17;
/* rgb */ color: rgb(65, 142, 23);
/* oklch */ color: oklch(57.5% 0.166 137.6);
Tailwind
colors: {
  custom: {
    50: '#7eb060',
    500: '#418e17',
    950: '#000000',
  },
}
SCSS
$custom: #418e17;
$custom-light: #7eb060;
$custom-dark: #000000;
JSON
{
  "hex": "#418e17",
  "rgb": {
    "r": 65,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 98.824,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57536,
    "c": 0.16572,
    "h": 137.6
  },
  "luminance": 0.20532
}

Semantic roles & 50–950 ramp

primary
#418E17
secondary
#9340C0
accent
#39EFAF
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #418E17

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

Preview Lab → · Contrast checker → · Palette generator →

#418E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva