#418918#418918

#418918 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.2% C 0.159 H 137.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#418918
RGBrgb(65, 137, 24)
HSLhsl(98, 70%, 32%)
HSVhsv(98, 82%, 54%)
CMYKcmyk(52.6%, 0%, 82.5%, 46.3%)
CIE-LABlab(50.78, -42.06, 48.92)
CIE-LCHlch(50.78, 64.52, 130.69°)
OKLaboklab(56.18% -0.1168 0.1082)
OKLCHoklch(56.18% 0.159 137.2)
XYZxyz(11.2901, 19.0803, 3.9519)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418918 #601889
analogous
#7A8918 #418918 #188928
triadic
#418918 #184189 #891841
tetradic
#418918 #187A89 #601889 #892818
square
#418918 #187A89 #601889 #892818
split-complementary
#418918 #281889 #89187A
monochromatic
#102106 #28550F #418918 #5ABD21 #78DD3E

Accessibility & contrast

On white

4.36
#418918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#418918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418918
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418918#FFFFFF#000000##000000
##4189181.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847726
Tritanopia (blue-blind)
#3C8474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #418918;
/* rgb */ color: rgb(65, 137, 24);
/* oklch */ color: oklch(56.2% 0.159 137.2);
Tailwind
colors: {
  custom: {
    50: '#7eac60',
    500: '#418918',
    950: '#000000',
  },
}
SCSS
$custom: #418918;
$custom-light: #7eac60;
$custom-dark: #000000;
JSON
{
  "hex": "#418918",
  "rgb": {
    "r": 65,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 98.23,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56176,
    "c": 0.15922,
    "h": 137.2
  },
  "luminance": 0.19081
}

Semantic roles & 50–950 ramp

primary
#418918
secondary
#8F40BD
accent
#3BEDAC
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418918

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

Preview Lab → · Contrast checker → · Palette generator →

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