#418011#418011

#418011 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.7% C 0.151 H 135.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#418011
RGBrgb(65, 128, 17)
HSLhsl(94, 77%, 28%)
HSVhsv(94, 87%, 50%)
CMYKcmyk(49.2%, 0%, 86.7%, 49.8%)
CIE-LABlab(47.75, -38.76, 48.15)
CIE-LCHlch(47.75, 61.81, 128.83°)
OKLaboklab(53.68% -0.1083 0.1055)
OKLCHoklch(53.68% 0.151 135.8)
XYZxyz(10.0001, 16.6020, 3.2078)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418011 #501180
analogous
#788011 #418011 #118018
triadic
#418011 #114180 #801141
tetradic
#418011 #117880 #501180 #801811
square
#418011 #117880 #501180 #801811
split-complementary
#418011 #181180 #801178
monochromatic
#0E1B04 #264A0A #418011 #5CB618 #79E329

Accessibility & contrast

On white

4.86
#418011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#418011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418011
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418011#FFFFFF#000000##FFFFFF
##4180111.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7D6F20
Tritanopia (blue-blind)
#3E7B6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #418011;
/* rgb */ color: rgb(65, 128, 17);
/* oklch */ color: oklch(53.7% 0.151 135.8);
Tailwind
colors: {
  custom: {
    50: '#7da55c',
    500: '#418011',
    950: '#000000',
  },
}
SCSS
$custom: #418011;
$custom-light: #7da55c;
$custom-dark: #000000;
JSON
{
  "hex": "#418011",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 94.054,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.15124,
    "h": 135.8
  },
  "luminance": 0.16603
}

Semantic roles & 50–950 ramp

primary
#418011
secondary
#7F37B6
accent
#35F3A1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #418011

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

Preview Lab → · Contrast checker → · Palette generator →

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