#418C17#418C17

#418C17 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.0% C 0.163 H 137.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#418C17
RGBrgb(65, 140, 23)
HSLhsl(98, 72%, 32%)
HSVhsv(98, 84%, 55%)
CMYKcmyk(53.6%, 0%, 83.6%, 45.1%)
CIE-LABlab(51.77, -43.30, 50.13)
CIE-LCHlch(51.77, 66.24, 130.82°)
OKLaboklab(56.99% -0.1202 0.1106)
OKLCHoklch(56.99% 0.163 137.4)
XYZxyz(11.7123, 19.9410, 4.0423)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418C17 #62178C
analogous
#7B8C17 #418C17 #178C28
triadic
#418C17 #17418C #8C1741
tetradic
#418C17 #177B8C #62178C #8C2817
square
#418C17 #177B8C #62178C #8C2817
split-complementary
#418C17 #28178C #8C177B
monochromatic
#102306 #29570E #418C17 #59C120 #78DF3E

Accessibility & contrast

On white

4.21
#418C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#418C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418C17
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418C17#FFFFFF#000000##000000
##418C171.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#3C8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #418c17;
/* rgb */ color: rgb(65, 140, 23);
/* oklch */ color: oklch(57.0% 0.163 137.4);
Tailwind
colors: {
  custom: {
    50: '#7eae60',
    500: '#418c17',
    950: '#000000',
  },
}
SCSS
$custom: #418c17;
$custom-light: #7eae60;
$custom-dark: #000000;
JSON
{
  "hex": "#418c17",
  "rgb": {
    "r": 65,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 98.462,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.16331,
    "h": 137.4
  },
  "luminance": 0.19942
}

Semantic roles & 50–950 ramp

primary
#418C17
secondary
#913FBF
accent
#39EFAD
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418C17

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

Preview Lab → · Contrast checker → · Palette generator →

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