#418D17#418D17

#418D17 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.165 H 137.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#418D17
RGBrgb(65, 141, 23)
HSLhsl(99, 72%, 32%)
HSVhsv(99, 84%, 55%)
CMYKcmyk(53.9%, 0%, 83.7%, 44.7%)
CIE-LABlab(52.10, -43.69, 50.43)
CIE-LCHlch(52.10, 66.72, 130.91°)
OKLaboklab(57.26% -0.1212 0.1112)
OKLCHoklch(57.26% 0.165 137.5)
XYZxyz(11.8591, 20.2345, 4.0912)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418D17 #63178D
analogous
#7C8D17 #418D17 #178D28
triadic
#418D17 #17418D #8D1741
tetradic
#418D17 #177C8D #63178D #8D2817
square
#418D17 #177C8D #63178D #8D2817
split-complementary
#418D17 #28178D #8D177C
monochromatic
#102406 #29580E #418D17 #59C220 #78E03F

Accessibility & contrast

On white

4.16
#418D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#418D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418D17
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418D17#FFFFFF#000000##000000
##418D171.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#3B8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #418d17;
/* rgb */ color: rgb(65, 141, 23);
/* oklch */ color: oklch(57.3% 0.165 137.5);
Tailwind
colors: {
  custom: {
    50: '#7eaf60',
    500: '#418d17',
    950: '#000000',
  },
}
SCSS
$custom: #418d17;
$custom-light: #7eaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#418d17",
  "rgb": {
    "r": 65,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 98.644,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57263,
    "c": 0.16452,
    "h": 137.5
  },
  "luminance": 0.20235
}

Semantic roles & 50–950 ramp

primary
#418D17
secondary
#9240C0
accent
#39EFAE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #418D17

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

Preview Lab → · Contrast checker → · Palette generator →

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