#418C16#418C16

#418C16 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.0% C 0.164 H 137.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#418C16
RGBrgb(65, 140, 22)
HSLhsl(98, 73%, 32%)
HSVhsv(98, 84%, 55%)
CMYKcmyk(53.6%, 0%, 84.3%, 45.1%)
CIE-LABlab(51.77, -43.35, 50.40)
CIE-LCHlch(51.77, 66.48, 130.70°)
OKLaboklab(56.99% -0.1204 0.111)
OKLCHoklch(56.99% 0.164 137.3)
XYZxyz(11.7025, 19.9370, 3.9905)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418C16 #61168C
analogous
#7C8C16 #418C16 #168C26
triadic
#418C16 #16418C #8C1641
tetradic
#418C16 #167C8C #61168C #8C2616
square
#418C16 #167C8C #61168C #8C2616
split-complementary
#418C16 #26168C #8C167C
monochromatic
#102205 #28570E #418C16 #5AC11E #78E03C

Accessibility & contrast

On white

4.21
#418C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#418C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418C16
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418C16#FFFFFF#000000##000000
##418C161.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#3C8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #418c16;
/* rgb */ color: rgb(65, 140, 22);
/* oklch */ color: oklch(57.0% 0.164 137.3);
Tailwind
colors: {
  custom: {
    50: '#7eae5f',
    500: '#418c16',
    950: '#000000',
  },
}
SCSS
$custom: #418c16;
$custom-light: #7eae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#418c16",
  "rgb": {
    "r": 65,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 98.136,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.16375,
    "h": 137.3
  },
  "luminance": 0.19938
}

Semantic roles & 50–950 ramp

primary
#418C16
secondary
#903EC0
accent
#38F0AD
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418C16

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

Preview Lab → · Contrast checker → · Palette generator →

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