#418C11#418C11

#418C11 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.0% C 0.166 H 137.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#418C11
RGBrgb(65, 140, 17)
HSLhsl(97, 78%, 31%)
HSVhsv(97, 88%, 55%)
CMYKcmyk(53.6%, 0%, 87.9%, 45.1%)
CIE-LABlab(51.75, -43.58, 51.67)
CIE-LCHlch(51.75, 67.59, 130.14°)
OKLaboklab(56.96% -0.1212 0.113)
OKLCHoklch(56.96% 0.166 137)
XYZxyz(11.6589, 19.9196, 3.7607)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418C11 #5C118C
analogous
#7E8C11 #418C11 #118C1E
triadic
#418C11 #11418C #8C1141
tetradic
#418C11 #117E8C #5C118C #8C1E11
square
#418C11 #117E8C #5C118C #8C1E11
split-complementary
#418C11 #1E118C #8C117E
monochromatic
#0E1F04 #28550A #418C11 #5AC318 #78E631

Accessibility & contrast

On white

4.21
#418C11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#418C11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418C11
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418C11#FFFFFF#000000##000000
##418C111.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#3C8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #418c11;
/* rgb */ color: rgb(65, 140, 17);
/* oklch */ color: oklch(57.0% 0.166 137.0);
Tailwind
colors: {
  custom: {
    50: '#7eae5e',
    500: '#418c11',
    950: '#000000',
  },
}
SCSS
$custom: #418c11;
$custom-light: #7eae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#418c11",
  "rgb": {
    "r": 65,
    "g": 140,
    "b": 17
  },
  "hsl": {
    "h": 96.585,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.1657,
    "h": 137
  },
  "luminance": 0.1992
}

Semantic roles & 50–950 ramp

primary
#418C11
secondary
#8B38C1
accent
#33F5A9
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418C11

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

Preview Lab → · Contrast checker → · Palette generator →

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