#418D13#418D13

#418D13 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.2% C 0.166 H 137.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#418D13
RGBrgb(65, 141, 19)
HSLhsl(97, 76%, 31%)
HSVhsv(97, 87%, 55%)
CMYKcmyk(53.9%, 0%, 86.5%, 44.7%)
CIE-LABlab(52.08, -43.88, 51.48)
CIE-LCHlch(52.08, 67.65, 130.44°)
OKLaboklab(57.24% -0.1219 0.1128)
OKLCHoklch(57.24% 0.166 137.2)
XYZxyz(11.8220, 20.2197, 3.8958)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418D13 #5F138D
analogous
#7E8D13 #418D13 #138D22
triadic
#418D13 #13418D #8D1341
tetradic
#418D13 #137E8D #5F138D #8D2213
square
#418D13 #137E8D #5F138D #8D2213
split-complementary
#418D13 #22138D #8D137E
monochromatic
#0F2104 #28570C #418D13 #5AC31A #78E436

Accessibility & contrast

On white

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

On black

5.04
#418D13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418D13
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418D13#FFFFFF#000000##000000
##418D131.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #418d13;
/* rgb */ color: rgb(65, 141, 19);
/* oklch */ color: oklch(57.2% 0.166 137.2);
Tailwind
colors: {
  custom: {
    50: '#7eaf5f',
    500: '#418d13',
    950: '#000000',
  },
}
SCSS
$custom: #418d13;
$custom-light: #7eaf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#418d13",
  "rgb": {
    "r": 65,
    "g": 141,
    "b": 19
  },
  "hsl": {
    "h": 97.377,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.16615,
    "h": 137.2
  },
  "luminance": 0.20221
}

Semantic roles & 50–950 ramp

primary
#418D13
secondary
#8E3BC1
accent
#35F3AB
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418D13

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

Preview Lab → · Contrast checker → · Palette generator →

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