#418518#418518

#418518 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.1% C 0.154 H 136.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#418518
RGBrgb(65, 133, 24)
HSLhsl(97, 69%, 31%)
HSVhsv(97, 82%, 52%)
CMYKcmyk(51.1%, 0%, 82%, 47.8%)
CIE-LABlab(49.45, -40.46, 47.69)
CIE-LCHlch(49.45, 62.53, 130.31°)
OKLaboklab(55.08% -0.1125 0.1056)
OKLCHoklch(55.08% 0.154 136.8)
XYZxyz(10.7321, 17.9641, 3.7659)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418518 #5C1885
analogous
#778518 #418518 #188525
triadic
#418518 #184185 #851841
tetradic
#418518 #187785 #5C1885 #852518
square
#418518 #187785 #5C1885 #852518
split-complementary
#418518 #251885 #851877
monochromatic
#0E1D05 #28510F #418518 #5AB921 #78DC3C

Accessibility & contrast

On white

4.57
#418518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#418518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418518
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418518#FFFFFF#000000##000000
##4185181.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#3D8071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #418518;
/* rgb */ color: rgb(65, 133, 24);
/* oklch */ color: oklch(55.1% 0.154 136.8);
Tailwind
colors: {
  custom: {
    50: '#7da95f',
    500: '#418518',
    950: '#000000',
  },
}
SCSS
$custom: #418518;
$custom-light: #7da95f;
$custom-dark: #000000;
JSON
{
  "hex": "#418518",
  "rgb": {
    "r": 65,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 97.431,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55083,
    "c": 0.1543,
    "h": 136.8
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#418518
secondary
#8B40B9
accent
#3CECAA
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #418518

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

Preview Lab → · Contrast checker → · Palette generator →

#418518 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva