#418112#418112

#418112 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.0% C 0.152 H 135.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#418112
RGBrgb(65, 129, 18)
HSLhsl(95, 76%, 29%)
HSVhsv(95, 86%, 51%)
CMYKcmyk(49.6%, 0%, 86%, 49.4%)
CIE-LABlab(48.09, -39.13, 48.19)
CIE-LCHlch(48.09, 62.07, 129.08°)
OKLaboklab(53.96% -0.1093 0.1057)
OKLCHoklch(53.96% 0.152 135.9)
XYZxyz(10.1391, 16.8673, 3.2936)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418112 #521281
analogous
#798112 #418112 #12811B
triadic
#418112 #124181 #811241
tetradic
#418112 #127981 #521281 #811B12
square
#418112 #127981 #521281 #811B12
split-complementary
#418112 #1B1281 #811279
monochromatic
#0E1B04 #264B0B #418112 #5CB719 #79E22C

Accessibility & contrast

On white

4.80
#418112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#418112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418112
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418112#FFFFFF#000000##FFFFFF
##4181121.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7E7020
Tritanopia (blue-blind)
#3E7C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #418112;
/* rgb */ color: rgb(65, 129, 18);
/* oklch */ color: oklch(54.0% 0.152 135.9);
Tailwind
colors: {
  custom: {
    50: '#7da65c',
    500: '#418112',
    950: '#000000',
  },
}
SCSS
$custom: #418112;
$custom-light: #7da65c;
$custom-dark: #000000;
JSON
{
  "hex": "#418112",
  "rgb": {
    "r": 65,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 94.595,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.15206,
    "h": 135.9
  },
  "luminance": 0.16868
}

Semantic roles & 50–950 ramp

primary
#418112
secondary
#8138B7
accent
#36F2A2
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #418112

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

Preview Lab → · Contrast checker → · Palette generator →

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