#418B18#418B18

#418B18 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.7% C 0.162 H 137.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#418B18
RGBrgb(65, 139, 24)
HSLhsl(99, 71%, 32%)
HSVhsv(99, 83%, 55%)
CMYKcmyk(53.2%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.44, -42.86, 49.53)
CIE-LCHlch(51.44, 65.50, 130.87°)
OKLaboklab(56.72% -0.1189 0.1095)
OKLCHoklch(56.72% 0.162 137.4)
XYZxyz(11.5771, 19.6541, 4.0475)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418B18 #62188B
analogous
#7B8B18 #418B18 #188B29
triadic
#418B18 #18418B #8B1841
tetradic
#418B18 #187B8B #62188B #8B2918
square
#418B18 #187B8B #62188B #8B2918
split-complementary
#418B18 #29188B #8B187B
monochromatic
#102306 #29570F #418B18 #59BF21 #78DE3F

Accessibility & contrast

On white

4.26
#418B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#418B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418B18
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418B18#FFFFFF#000000##000000
##418B181.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#3C8676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #418b18;
/* rgb */ color: rgb(65, 139, 24);
/* oklch */ color: oklch(56.7% 0.162 137.4);
Tailwind
colors: {
  custom: {
    50: '#7ead60',
    500: '#418b18',
    950: '#000000',
  },
}
SCSS
$custom: #418b18;
$custom-light: #7ead60;
$custom-dark: #000000;
JSON
{
  "hex": "#418b18",
  "rgb": {
    "r": 65,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 98.609,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56723,
    "c": 0.16166,
    "h": 137.4
  },
  "luminance": 0.19655
}

Semantic roles & 50–950 ramp

primary
#418B18
secondary
#9140BE
accent
#3AEDAE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #418B18

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

Preview Lab → · Contrast checker → · Palette generator →

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