#418D15#418D15

#418D15 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.165 H 137.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#418D15
RGBrgb(65, 141, 21)
HSLhsl(98, 74%, 32%)
HSVhsv(98, 85%, 55%)
CMYKcmyk(53.9%, 0%, 85.1%, 44.7%)
CIE-LABlab(52.09, -43.79, 50.97)
CIE-LCHlch(52.09, 67.20, 130.67°)
OKLaboklab(57.25% -0.1216 0.1121)
OKLCHoklch(57.25% 0.165 137.3)
XYZxyz(11.8398, 20.2268, 3.9896)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418D15 #61158D
analogous
#7D8D15 #418D15 #158D25
triadic
#418D15 #15418D #8D1541
tetradic
#418D15 #157D8D #61158D #8D2515
square
#418D15 #157D8D #61158D #8D2515
split-complementary
#418D15 #25158D #8D157D
monochromatic
#102205 #28580D #418D15 #5AC21D #78E23B

Accessibility & contrast

On white

4.16
#418D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#418D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418D15
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418D15#FFFFFF#000000##000000
##418D151.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#3C8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #418d15;
/* rgb */ color: rgb(65, 141, 21);
/* oklch */ color: oklch(57.3% 0.165 137.3);
Tailwind
colors: {
  custom: {
    50: '#7eaf5f',
    500: '#418d15',
    950: '#000000',
  },
}
SCSS
$custom: #418d15;
$custom-light: #7eaf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#418d15",
  "rgb": {
    "r": 65,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 98,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57253,
    "c": 0.16536,
    "h": 137.3
  },
  "luminance": 0.20228
}

Semantic roles & 50–950 ramp

primary
#418D15
secondary
#903DC1
accent
#37F1AD
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418D15

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

Preview Lab → · Contrast checker → · Palette generator →

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