#418217#418217

#418217 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.3% C 0.151 H 136.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#418217
RGBrgb(65, 130, 23)
HSLhsl(96, 70%, 30%)
HSVhsv(96, 82%, 51%)
CMYKcmyk(50%, 0%, 82.3%, 49%)
CIE-LABlab(48.45, -39.29, 47.06)
CIE-LCHlch(48.45, 61.30, 129.85°)
OKLaboklab(54.26% -0.1094 0.1041)
OKLCHoklch(54.26% 0.151 136.4)
XYZxyz(10.3170, 17.1502, 3.5771)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418217 #581782
analogous
#768217 #418217 #178223
triadic
#418217 #174182 #821741
tetradic
#418217 #177682 #581782 #822317
square
#418217 #177682 #581782 #822317
split-complementary
#418217 #231782 #821776
monochromatic
#0D1A05 #274E0E #418217 #5BB620 #78DC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##418217#FFFFFF#000000##FFFFFF
##4182171.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)
#7E7124
Tritanopia (blue-blind)
#3E7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #418217;
/* rgb */ color: rgb(65, 130, 23);
/* oklch */ color: oklch(54.3% 0.151 136.4);
Tailwind
colors: {
  custom: {
    50: '#7da75e',
    500: '#418217',
    950: '#000000',
  },
}
SCSS
$custom: #418217;
$custom-light: #7da75e;
$custom-dark: #000000;
JSON
{
  "hex": "#418217",
  "rgb": {
    "r": 65,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 96.449,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.15106,
    "h": 136.4
  },
  "luminance": 0.17151
}

Semantic roles & 50–950 ramp

primary
#418217
secondary
#873EB6
accent
#3BEDA7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #418217

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

Preview Lab → · Contrast checker → · Palette generator →

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