#418012#418012

#418012 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#418012
RGBrgb(65, 128, 18)
HSLhsl(94, 75%, 29%)
HSVhsv(94, 86%, 50%)
CMYKcmyk(49.2%, 0%, 85.9%, 49.8%)
CIE-LABlab(47.76, -38.72, 47.89)
CIE-LCHlch(47.76, 61.58, 128.95°)
OKLaboklab(53.68% -0.1082 0.1051)
OKLCHoklch(53.68% 0.151 135.8)
XYZxyz(10.0081, 16.6052, 3.2499)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418012 #511280
analogous
#788012 #418012 #12801A
triadic
#418012 #124180 #801241
tetradic
#418012 #127880 #511280 #801A12
square
#418012 #127880 #511280 #801A12
split-complementary
#418012 #1A1280 #801278
monochromatic
#0E1B04 #264A0A #418012 #5CB61A #79E12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##418012#FFFFFF#000000##FFFFFF
##4180121.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: #418012;
/* rgb */ color: rgb(65, 128, 18);
/* oklch */ color: oklch(53.7% 0.151 135.8);
Tailwind
colors: {
  custom: {
    50: '#7da55c',
    500: '#418012',
    950: '#000000',
  },
}
SCSS
$custom: #418012;
$custom-light: #7da55c;
$custom-dark: #000000;
JSON
{
  "hex": "#418012",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 94.364,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5368,
    "c": 0.15083,
    "h": 135.8
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#418012
secondary
#8038B6
accent
#36F2A2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #418012

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

Preview Lab → · Contrast checker → · Palette generator →

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