#418D14#418D14

#418D14 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.2% C 0.166 H 137.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#418D14
RGBrgb(65, 141, 20)
HSLhsl(98, 75%, 32%)
HSVhsv(98, 86%, 55%)
CMYKcmyk(53.9%, 0%, 85.8%, 44.7%)
CIE-LABlab(52.09, -43.84, 51.23)
CIE-LCHlch(52.09, 67.43, 130.55°)
OKLaboklab(57.25% -0.1218 0.1125)
OKLCHoklch(57.25% 0.166 137.3)
XYZxyz(11.8307, 20.2232, 3.9417)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418D14 #60148D
analogous
#7E8D14 #418D14 #148D24
triadic
#418D14 #14418D #8D1441
tetradic
#418D14 #147E8D #60148D #8D2414
square
#418D14 #147E8D #60148D #8D2414
split-complementary
#418D14 #24148D #8D147E
monochromatic
#102205 #28570C #418D14 #5AC31C #78E339

Accessibility & contrast

On white

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

On black

5.04
#418D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418D14
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418D14#FFFFFF#000000##000000
##418D141.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#3C8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #418d14;
/* rgb */ color: rgb(65, 141, 20);
/* oklch */ color: oklch(57.2% 0.166 137.3);
Tailwind
colors: {
  custom: {
    50: '#7eaf5f',
    500: '#418d14',
    950: '#000000',
  },
}
SCSS
$custom: #418d14;
$custom-light: #7eaf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#418d14",
  "rgb": {
    "r": 65,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 97.686,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.16576,
    "h": 137.3
  },
  "luminance": 0.20224
}

Semantic roles & 50–950 ramp

primary
#418D14
secondary
#8F3CC1
accent
#36F2AC
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418D14

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

Preview Lab → · Contrast checker → · Palette generator →

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