#418A12#418A12

#418A12 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.4% C 0.163 H 136.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#418A12
RGBrgb(65, 138, 18)
HSLhsl(97, 77%, 31%)
HSVhsv(97, 87%, 54%)
CMYKcmyk(52.9%, 0%, 87%, 45.9%)
CIE-LABlab(51.09, -42.75, 50.85)
CIE-LCHlch(51.09, 66.43, 130.05°)
OKLaboklab(56.42% -0.119 0.1114)
OKLCHoklch(56.42% 0.163 136.9)
XYZxyz(11.3773, 19.3436, 3.7063)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418A12 #5B128A
analogous
#7D8A12 #418A12 #128A1F
triadic
#418A12 #12418A #8A1241
tetradic
#418A12 #127D8A #5B128A #8A1F12
square
#418A12 #127D8A #5B128A #8A1F12
split-complementary
#418A12 #1F128A #8A127D
monochromatic
#0E1E04 #27540B #418A12 #5AC019 #78E432

Accessibility & contrast

On white

4.31
#418A12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#418A12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418A12
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418A12#FFFFFF#000000##000000
##418A121.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#867722
Tritanopia (blue-blind)
#3C8575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #418a12;
/* rgb */ color: rgb(65, 138, 18);
/* oklch */ color: oklch(56.4% 0.163 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ead5e',
    500: '#418a12',
    950: '#000000',
  },
}
SCSS
$custom: #418a12;
$custom-light: #7ead5e;
$custom-dark: #000000;
JSON
{
  "hex": "#418a12",
  "rgb": {
    "r": 65,
    "g": 138,
    "b": 18
  },
  "hsl": {
    "h": 96.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5642,
    "c": 0.16296,
    "h": 136.9
  },
  "luminance": 0.19344
}

Semantic roles & 50–950 ramp

primary
#418A12
secondary
#8A39BF
accent
#34F3A9
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418A12

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

Preview Lab → · Contrast checker → · Palette generator →

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