#418F17#418F17

#418F17 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.8% C 0.167 H 137.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#418F17
RGBrgb(65, 143, 23)
HSLhsl(99, 72%, 33%)
HSVhsv(99, 84%, 56%)
CMYKcmyk(54.5%, 0%, 83.9%, 43.9%)
CIE-LABlab(52.76, -44.47, 51.03)
CIE-LCHlch(52.76, 67.69, 131.07°)
OKLaboklab(57.81% -0.1233 0.1125)
OKLCHoklch(57.81% 0.167 137.6)
XYZxyz(12.1567, 20.8297, 4.1904)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418F17 #65178F
analogous
#7D8F17 #418F17 #178F29
triadic
#418F17 #17418F #8F1741
tetradic
#418F17 #177D8F #65178F #8F2917
square
#418F17 #177D8F #65178F #8F2917
split-complementary
#418F17 #29178F #8F177D
monochromatic
#112606 #295A0F #418F17 #59C41F #78E040

Accessibility & contrast

On white

4.06
#418F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#418F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418F17
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418F17#FFFFFF#000000##000000
##418F171.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#3B8A79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #418f17;
/* rgb */ color: rgb(65, 143, 23);
/* oklch */ color: oklch(57.8% 0.167 137.6);
Tailwind
colors: {
  custom: {
    50: '#7fb060',
    500: '#418f17',
    950: '#000000',
  },
}
SCSS
$custom: #418f17;
$custom-light: #7fb060;
$custom-dark: #000000;
JSON
{
  "hex": "#418f17",
  "rgb": {
    "r": 65,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 99,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57808,
    "c": 0.16691,
    "h": 137.6
  },
  "luminance": 0.20831
}

Semantic roles & 50–950 ramp

primary
#418F17
secondary
#9441C1
accent
#39EFAF
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #418F17

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

Preview Lab → · Contrast checker → · Palette generator →

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