#417B18#417B18

#417B18 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.3% C 0.142 H 135.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#417B18
RGBrgb(65, 123, 24)
HSLhsl(95, 67%, 29%)
HSVhsv(95, 80%, 48%)
CMYKcmyk(47.2%, 0%, 80.5%, 51.8%)
CIE-LABlab(46.12, -36.29, 44.55)
CIE-LCHlch(46.12, 57.46, 129.17°)
OKLaboklab(52.34% -0.1013 0.099)
OKLCHoklch(52.34% 0.142 135.7)
XYZxyz(9.4276, 15.3551, 3.3310)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B18 #52187B
analogous
#737B18 #417B18 #187B21
triadic
#417B18 #18417B #7B1841
tetradic
#417B18 #18737B #52187B #7B2118
square
#417B18 #18737B #52187B #7B2118
split-complementary
#417B18 #21187B #7B1873
monochromatic
#0E1A05 #26480E #417B18 #5CAE22 #79D836

Accessibility & contrast

On white

5.16
#417B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#417B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417B18
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417B18#FFFFFF#000000##FFFFFF
##417B181.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#3F7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b18;
/* rgb */ color: rgb(65, 123, 24);
/* oklch */ color: oklch(52.3% 0.142 135.7);
Tailwind
colors: {
  custom: {
    50: '#7ca25e',
    500: '#417b18',
    950: '#000000',
  },
}
SCSS
$custom: #417b18;
$custom-light: #7ca25e;
$custom-dark: #000000;
JSON
{
  "hex": "#417b18",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 95.152,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.14168,
    "h": 135.7
  },
  "luminance": 0.15356
}

Semantic roles & 50–950 ramp

primary
#417B18
secondary
#813FB0
accent
#3EEAA3
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417B18

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

Preview Lab → · Contrast checker → · Palette generator →

#417B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva