#418917#418917

#418917 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.2% C 0.160 H 137.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#418917
RGBrgb(65, 137, 23)
HSLhsl(98, 71%, 31%)
HSVhsv(98, 83%, 54%)
CMYKcmyk(52.6%, 0%, 83.2%, 46.3%)
CIE-LABlab(50.78, -42.12, 49.21)
CIE-LCHlch(50.78, 64.78, 130.56°)
OKLaboklab(56.17% -0.117 0.1087)
OKLCHoklch(56.17% 0.16 137.1)
XYZxyz(11.2799, 19.0762, 3.8981)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418917 #5F1789
analogous
#7A8917 #418917 #178926
triadic
#418917 #174189 #891741
tetradic
#418917 #177A89 #5F1789 #892617
square
#418917 #177A89 #5F1789 #892617
split-complementary
#418917 #261789 #89177A
monochromatic
#0F2005 #28550E #418917 #5ABD20 #78DE3C

Accessibility & contrast

On white

4.36
#418917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#418917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418917
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418917#FFFFFF#000000##000000
##4189171.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#3C8474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #418917;
/* rgb */ color: rgb(65, 137, 23);
/* oklch */ color: oklch(56.2% 0.160 137.1);
Tailwind
colors: {
  custom: {
    50: '#7eac5f',
    500: '#418917',
    950: '#000000',
  },
}
SCSS
$custom: #418917;
$custom-light: #7eac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#418917",
  "rgb": {
    "r": 65,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 97.895,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.15969,
    "h": 137.1
  },
  "luminance": 0.19077
}

Semantic roles & 50–950 ramp

primary
#418917
secondary
#8E3FBD
accent
#3AEEAC
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418917

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

Preview Lab → · Contrast checker → · Palette generator →

#418917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva