#418A16#418A16

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

Color values

HEX#418A16
RGBrgb(65, 138, 22)
HSLhsl(98, 73%, 31%)
HSVhsv(98, 84%, 54%)
CMYKcmyk(52.9%, 0%, 84.1%, 45.9%)
CIE-LABlab(51.10, -42.56, 49.80)
CIE-LCHlch(51.10, 65.51, 130.52°)
OKLaboklab(56.44% -0.1183 0.1097)
OKLCHoklch(56.44% 0.161 137.1)
XYZxyz(11.4129, 19.3579, 3.8939)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418A16 #5F168A
analogous
#7B8A16 #418A16 #168A25
triadic
#418A16 #16418A #8A1641
tetradic
#418A16 #167B8A #5F168A #8A2516
square
#418A16 #167B8A #5F168A #8A2516
split-complementary
#418A16 #25168A #8A167B
monochromatic
#0F2005 #28550E #418A16 #5ABF1E #78E03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##418A16#FFFFFF#000000##000000
##418A161.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)
#857724
Tritanopia (blue-blind)
#3C8575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #418a16;
/* rgb */ color: rgb(65, 138, 22);
/* oklch */ color: oklch(56.4% 0.161 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ead5f',
    500: '#418a16',
    950: '#000000',
  },
}
SCSS
$custom: #418a16;
$custom-light: #7ead5f;
$custom-dark: #000000;
JSON
{
  "hex": "#418a16",
  "rgb": {
    "r": 65,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 97.759,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56439,
    "c": 0.16134,
    "h": 137.1
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#418A16
secondary
#8E3EBE
accent
#39EFAC
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418A16

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

Preview Lab → · Contrast checker → · Palette generator →

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