#418A18#418A18

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

Color values

HEX#418A18
RGBrgb(65, 138, 24)
HSLhsl(98, 70%, 32%)
HSVhsv(98, 83%, 54%)
CMYKcmyk(52.9%, 0%, 82.6%, 45.9%)
CIE-LABlab(51.11, -42.46, 49.23)
CIE-LCHlch(51.11, 65.01, 130.78°)
OKLaboklab(56.45% -0.1179 0.1088)
OKLCHoklch(56.45% 0.16 137.3)
XYZxyz(11.4330, 19.3659, 3.9995)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418A18 #61188A
analogous
#7A8A18 #418A18 #188A28
triadic
#418A18 #18418A #8A1841
tetradic
#418A18 #187A8A #61188A #8A2818
square
#418A18 #187A8A #61188A #8A2818
split-complementary
#418A18 #28188A #8A187A
monochromatic
#102206 #28560F #418A18 #5ABE21 #78DE3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #418a18;
/* rgb */ color: rgb(65, 138, 24);
/* oklch */ color: oklch(56.5% 0.160 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ead60',
    500: '#418a18',
    950: '#000000',
  },
}
SCSS
$custom: #418a18;
$custom-light: #7ead60;
$custom-dark: #000000;
JSON
{
  "hex": "#418a18",
  "rgb": {
    "r": 65,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 98.421,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.16044,
    "h": 137.3
  },
  "luminance": 0.19367
}

Semantic roles & 50–950 ramp

primary
#418A18
secondary
#9040BD
accent
#3BEDAD
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418A18

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

Preview Lab → · Contrast checker → · Palette generator →

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