#418B17#418B17

#418B17 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.7% C 0.162 H 137.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#418B17
RGBrgb(65, 139, 23)
HSLhsl(98, 72%, 32%)
HSVhsv(98, 83%, 55%)
CMYKcmyk(53.2%, 0%, 83.5%, 45.5%)
CIE-LABlab(51.44, -42.91, 49.82)
CIE-LCHlch(51.44, 65.75, 130.74°)
OKLaboklab(56.72% -0.1191 0.1099)
OKLCHoklch(56.72% 0.162 137.3)
XYZxyz(11.5669, 19.6500, 3.9938)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418B17 #61178B
analogous
#7B8B17 #418B17 #178B27
triadic
#418B17 #17418B #8B1741
tetradic
#418B17 #177B8B #61178B #8B2717
square
#418B17 #177B8B #61178B #8B2717
split-complementary
#418B17 #27178B #8B177B
monochromatic
#102206 #28560E #418B17 #5AC020 #78DF3D

Accessibility & contrast

On white

4.26
#418B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#418B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418B17
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418B17#FFFFFF#000000##000000
##418B171.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#3C8676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #418b17;
/* rgb */ color: rgb(65, 139, 23);
/* oklch */ color: oklch(56.7% 0.162 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ead60',
    500: '#418b17',
    950: '#000000',
  },
}
SCSS
$custom: #418b17;
$custom-light: #7ead60;
$custom-dark: #000000;
JSON
{
  "hex": "#418b17",
  "rgb": {
    "r": 65,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 98.276,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56717,
    "c": 0.16211,
    "h": 137.3
  },
  "luminance": 0.19651
}

Semantic roles & 50–950 ramp

primary
#418B17
secondary
#903FBF
accent
#39EEAD
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418B17

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

Preview Lab → · Contrast checker → · Palette generator →

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