#418417#418417

#418417 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.8% C 0.154 H 136.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#418417
RGBrgb(65, 132, 23)
HSLhsl(97, 70%, 30%)
HSVhsv(97, 83%, 52%)
CMYKcmyk(50.8%, 0%, 82.6%, 48.2%)
CIE-LABlab(49.11, -40.10, 47.68)
CIE-LCHlch(49.11, 62.30, 130.07°)
OKLaboklab(54.8% -0.1116 0.1054)
OKLCHoklch(54.8% 0.154 136.6)
XYZxyz(10.5856, 17.6875, 3.6667)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418417 #5A1784
analogous
#778417 #418417 #178424
triadic
#418417 #174184 #841741
tetradic
#418417 #177784 #5A1784 #842417
square
#418417 #177784 #5A1784 #842417
split-complementary
#418417 #241784 #841777
monochromatic
#0E1C05 #27500E #418417 #5BB820 #78DC39

Accessibility & contrast

On white

4.63
#418417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#418417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #418417
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418417#FFFFFF#000000##FFFFFF
##4184171.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#3D7F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #418417;
/* rgb */ color: rgb(65, 132, 23);
/* oklch */ color: oklch(54.8% 0.154 136.6);
Tailwind
colors: {
  custom: {
    50: '#7da85f',
    500: '#418417',
    950: '#000000',
  },
}
SCSS
$custom: #418417;
$custom-light: #7da85f;
$custom-dark: #000000;
JSON
{
  "hex": "#418417",
  "rgb": {
    "r": 65,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 96.881,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.15355,
    "h": 136.6
  },
  "luminance": 0.17688
}

Semantic roles & 50–950 ramp

primary
#418417
secondary
#893FB8
accent
#3BEDA8
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #418417

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

Preview Lab → · Contrast checker → · Palette generator →

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