#418215#418215

#418215 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.2% C 0.152 H 136.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#418215
RGBrgb(65, 130, 21)
HSLhsl(96, 72%, 30%)
HSVhsv(96, 84%, 51%)
CMYKcmyk(50%, 0%, 83.8%, 49%)
CIE-LABlab(48.44, -39.39, 47.66)
CIE-LCHlch(48.44, 61.83, 129.58°)
OKLaboklab(54.24% -0.1098 0.1051)
OKLCHoklch(54.24% 0.152 136.3)
XYZxyz(10.2977, 17.1425, 3.4755)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418215 #561582
analogous
#788215 #418215 #158220
triadic
#418215 #154182 #821541
tetradic
#418215 #157882 #561582 #822015
square
#418215 #157882 #561582 #822015
split-complementary
#418215 #201582 #821578
monochromatic
#0D1A04 #274D0C #418215 #5BB71E #78DE33

Accessibility & contrast

On white

4.74
#418215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#418215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418215
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418215#FFFFFF#000000##FFFFFF
##4182151.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#3E7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #418215;
/* rgb */ color: rgb(65, 130, 21);
/* oklch */ color: oklch(54.2% 0.152 136.3);
Tailwind
colors: {
  custom: {
    50: '#7da75d',
    500: '#418215',
    950: '#000000',
  },
}
SCSS
$custom: #418215;
$custom-light: #7da75d;
$custom-dark: #000000;
JSON
{
  "hex": "#418215",
  "rgb": {
    "r": 65,
    "g": 130,
    "b": 21
  },
  "hsl": {
    "h": 95.78,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54244,
    "c": 0.152,
    "h": 136.3
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#418215
secondary
#853CB7
accent
#39EFA5
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #418215

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

Preview Lab → · Contrast checker → · Palette generator →

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