#417918#417918

#417918 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.8% C 0.139 H 135.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#417918
RGBrgb(65, 121, 24)
HSLhsl(95, 67%, 28%)
HSVhsv(95, 80%, 47%)
CMYKcmyk(46.3%, 0%, 80.2%, 52.5%)
CIE-LABlab(45.45, -35.44, 43.91)
CIE-LCHlch(45.45, 56.42, 128.91°)
OKLaboklab(51.79% -0.099 0.0977)
OKLCHoklch(51.79% 0.139 135.4)
XYZxyz(9.1820, 14.8640, 3.2492)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417918 #501879
analogous
#717918 #417918 #18791F
triadic
#417918 #184179 #791841
tetradic
#417918 #187179 #501879 #791F18
square
#417918 #187179 #501879 #791F18
split-complementary
#417918 #1F1879 #791871
monochromatic
#0E1A05 #26460E #417918 #5CAC22 #79D735

Accessibility & contrast

On white

5.29
#417918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#417918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417918
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417918#FFFFFF#000000##FFFFFF
##4179181.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E01
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#3F7467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #417918;
/* rgb */ color: rgb(65, 121, 24);
/* oklch */ color: oklch(51.8% 0.139 135.4);
Tailwind
colors: {
  custom: {
    50: '#7ba05d',
    500: '#417918',
    950: '#000000',
  },
}
SCSS
$custom: #417918;
$custom-light: #7ba05d;
$custom-dark: #000000;
JSON
{
  "hex": "#417918",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 94.639,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.13909,
    "h": 135.4
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#417918
secondary
#7F3FAE
accent
#3EEAA1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #417918

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

Preview Lab → · Contrast checker → · Palette generator →

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