#418818#418818

#418818 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 55.9% C 0.158 H 137.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#418818
RGBrgb(65, 136, 24)
HSLhsl(98, 70%, 31%)
HSVhsv(98, 82%, 53%)
CMYKcmyk(52.2%, 0%, 82.4%, 46.7%)
CIE-LABlab(50.45, -41.66, 48.61)
CIE-LCHlch(50.45, 64.02, 130.60°)
OKLaboklab(55.9% -0.1157 0.1076)
OKLCHoklch(55.9% 0.158 137.1)
XYZxyz(11.1487, 18.7973, 3.9047)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418818 #5F1888
analogous
#798818 #418818 #188827
triadic
#418818 #184188 #881841
tetradic
#418818 #187988 #5F1888 #882718
square
#418818 #187988 #5F1888 #882718
split-complementary
#418818 #271888 #881879
monochromatic
#0F2006 #28540F #418818 #5ABC21 #78DD3E

Accessibility & contrast

On white

4.41
#418818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#418818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418818
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418818#FFFFFF#000000##000000
##4188181.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#3C8374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #418818;
/* rgb */ color: rgb(65, 136, 24);
/* oklch */ color: oklch(55.9% 0.158 137.1);
Tailwind
colors: {
  custom: {
    50: '#7dab60',
    500: '#418818',
    950: '#000000',
  },
}
SCSS
$custom: #418818;
$custom-light: #7dab60;
$custom-dark: #000000;
JSON
{
  "hex": "#418818",
  "rgb": {
    "r": 65,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 98.036,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55903,
    "c": 0.158,
    "h": 137.1
  },
  "luminance": 0.18798
}

Semantic roles & 50–950 ramp

primary
#418818
secondary
#8E40BC
accent
#3BEDAC
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #418818

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

Preview Lab → · Contrast checker → · Palette generator →

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