#418C15#418C15

#418C15 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.0% C 0.164 H 137.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#418C15
RGBrgb(65, 140, 21)
HSLhsl(98, 74%, 32%)
HSVhsv(98, 85%, 55%)
CMYKcmyk(53.6%, 0%, 85%, 45.1%)
CIE-LABlab(51.76, -43.40, 50.67)
CIE-LCHlch(51.76, 66.72, 130.58°)
OKLaboklab(56.98% -0.1206 0.1114)
OKLCHoklch(56.98% 0.164 137.3)
XYZxyz(11.6930, 19.9332, 3.9407)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418C15 #60158C
analogous
#7D8C15 #418C15 #158C25
triadic
#418C15 #15418C #8C1541
tetradic
#418C15 #157D8C #60158C #8C2515
square
#418C15 #157D8C #60158C #8C2515
split-complementary
#418C15 #25158C #8C157D
monochromatic
#102205 #28570D #418C15 #5AC11D #78E13A

Accessibility & contrast

On white

4.21
#418C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#418C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418C15
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418C15#FFFFFF#000000##000000
##418C151.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#3C8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #418c15;
/* rgb */ color: rgb(65, 140, 21);
/* oklch */ color: oklch(57.0% 0.164 137.3);
Tailwind
colors: {
  custom: {
    50: '#7eae5f',
    500: '#418c15',
    950: '#000000',
  },
}
SCSS
$custom: #418c15;
$custom-light: #7eae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#418c15",
  "rgb": {
    "r": 65,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 97.815,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5698,
    "c": 0.16417,
    "h": 137.3
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#418C15
secondary
#8F3DC0
accent
#37F1AC
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418C15

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

Preview Lab → · Contrast checker → · Palette generator →

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