#418D16#418D16

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

Color values

HEX#418D16
RGBrgb(65, 141, 22)
HSLhsl(98, 73%, 32%)
HSVhsv(98, 84%, 55%)
CMYKcmyk(53.9%, 0%, 84.4%, 44.7%)
CIE-LABlab(52.10, -43.74, 50.70)
CIE-LCHlch(52.10, 66.97, 130.78°)
OKLaboklab(57.26% -0.1214 0.1116)
OKLCHoklch(57.26% 0.165 137.4)
XYZxyz(11.8493, 20.2306, 4.0394)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418D16 #62168D
analogous
#7D8D16 #418D16 #168D26
triadic
#418D16 #16418D #8D1641
tetradic
#418D16 #167D8D #62168D #8D2616
square
#418D16 #167D8D #62168D #8D2616
split-complementary
#418D16 #26168D #8D167D
monochromatic
#102305 #29580E #418D16 #59C21E #78E13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##418D16#FFFFFF#000000##000000
##418D161.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)
#887A25
Tritanopia (blue-blind)
#3C8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #418d16;
/* rgb */ color: rgb(65, 141, 22);
/* oklch */ color: oklch(57.3% 0.165 137.4);
Tailwind
colors: {
  custom: {
    50: '#7eaf60',
    500: '#418d16',
    950: '#000000',
  },
}
SCSS
$custom: #418d16;
$custom-light: #7eaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#418d16",
  "rgb": {
    "r": 65,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 98.319,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.16495,
    "h": 137.4
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#418D16
secondary
#913EC1
accent
#38F0AD
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418D16

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

Preview Lab → · Contrast checker → · Palette generator →

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