#418D1A#418D1A

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

Color values

HEX#418D1A
RGBrgb(65, 141, 26)
HSLhsl(100, 69%, 33%)
HSVhsv(100, 82%, 55%)
CMYKcmyk(53.9%, 0%, 81.6%, 44.7%)
CIE-LABlab(52.12, -43.53, 49.55)
CIE-LCHlch(52.12, 65.96, 131.30°)
OKLaboklab(57.28% -0.1206 0.1098)
OKLCHoklch(57.28% 0.163 137.7)
XYZxyz(11.8909, 20.2472, 4.2586)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418D1A #661A8D
analogous
#7A8D1A #418D1A #1A8D2C
triadic
#418D1A #1A418D #8D1A41
tetradic
#418D1A #1A7A8D #661A8D #8D2C1A
square
#418D1A #1A7A8D #661A8D #8D2C1A
split-complementary
#418D1A #2C1A8D #8D1A7A
monochromatic
#112607 #295910 #418D1A #59C124 #78DD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##418D1A#FFFFFF#000000##000000
##418D1A1.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)
#887A28
Tritanopia (blue-blind)
#3B8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #418d1a;
/* rgb */ color: rgb(65, 141, 26);
/* oklch */ color: oklch(57.3% 0.163 137.7);
Tailwind
colors: {
  custom: {
    50: '#7eaf61',
    500: '#418d1a',
    950: '#000000',
  },
}
SCSS
$custom: #418d1a;
$custom-light: #7eaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#418d1a",
  "rgb": {
    "r": 65,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 99.652,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.16314,
    "h": 137.7
  },
  "luminance": 0.20248
}

Semantic roles & 50–950 ramp

primary
#418D1A
secondary
#9545BE
accent
#3CECB0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #418D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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