#418A17#418A17

#418A17 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.4% C 0.161 H 137.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#418A17
RGBrgb(65, 138, 23)
HSLhsl(98, 71%, 32%)
HSVhsv(98, 83%, 54%)
CMYKcmyk(52.9%, 0%, 83.3%, 45.9%)
CIE-LABlab(51.11, -42.51, 49.52)
CIE-LCHlch(51.11, 65.27, 130.65°)
OKLaboklab(56.44% -0.1181 0.1093)
OKLCHoklch(56.44% 0.161 137.2)
XYZxyz(11.4227, 19.3618, 3.9457)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418A17 #60178A
analogous
#7B8A17 #418A17 #178A27
triadic
#418A17 #17418A #8A1741
tetradic
#418A17 #177B8A #60178A #8A2717
square
#418A17 #177B8A #60178A #8A2717
split-complementary
#418A17 #27178A #8A177B
monochromatic
#102106 #28560E #418A17 #5ABE20 #78DF3D

Accessibility & contrast

On white

4.31
#418A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#418A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418A17
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418A17#FFFFFF#000000##000000
##418A171.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#3C8575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #418a17;
/* rgb */ color: rgb(65, 138, 23);
/* oklch */ color: oklch(56.4% 0.161 137.2);
Tailwind
colors: {
  custom: {
    50: '#7ead60',
    500: '#418a17',
    950: '#000000',
  },
}
SCSS
$custom: #418a17;
$custom-light: #7ead60;
$custom-dark: #000000;
JSON
{
  "hex": "#418a17",
  "rgb": {
    "r": 65,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 98.087,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.1609,
    "h": 137.2
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

primary
#418A17
secondary
#8F3FBE
accent
#3AEEAC
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418A17

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

Preview Lab → · Contrast checker → · Palette generator →

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