#418D18#418D18

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

Color values

HEX#418D18
RGBrgb(65, 141, 24)
HSLhsl(99, 71%, 32%)
HSVhsv(99, 83%, 55%)
CMYKcmyk(53.9%, 0%, 83%, 44.7%)
CIE-LABlab(52.11, -43.64, 50.14)
CIE-LCHlch(52.11, 66.48, 131.03°)
OKLaboklab(57.27% -0.121 0.1108)
OKLCHoklch(57.27% 0.164 137.5)
XYZxyz(11.8693, 20.2386, 4.1450)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418D18 #64188D
analogous
#7C8D18 #418D18 #188D29
triadic
#418D18 #18418D #8D1841
tetradic
#418D18 #187C8D #64188D #8D2918
square
#418D18 #187C8D #64188D #8D2918
split-complementary
#418D18 #29188D #8D187C
monochromatic
#112406 #29590F #418D18 #59C121 #78DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##418D18#FFFFFF#000000##000000
##418D181.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)
#887A26
Tritanopia (blue-blind)
#3B8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #418d18;
/* rgb */ color: rgb(65, 141, 24);
/* oklch */ color: oklch(57.3% 0.164 137.5);
Tailwind
colors: {
  custom: {
    50: '#7eaf60',
    500: '#418d18',
    950: '#000000',
  },
}
SCSS
$custom: #418d18;
$custom-light: #7eaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#418d18",
  "rgb": {
    "r": 65,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 98.974,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.16408,
    "h": 137.5
  },
  "luminance": 0.2024
}

Semantic roles & 50–950 ramp

primary
#418D18
secondary
#9342BF
accent
#3AEEAF
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #418D18

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

Preview Lab → · Contrast checker → · Palette generator →

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