#417318#417318

#417318 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.1% C 0.131 H 134.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#417318
RGBrgb(65, 115, 24)
HSLhsl(93, 65%, 27%)
HSVhsv(93, 79%, 45%)
CMYKcmyk(43.5%, 0%, 79.1%, 54.9%)
CIE-LABlab(43.43, -32.80, 41.98)
CIE-LCHlch(43.43, 53.27, 128.01°)
OKLaboklab(50.14% -0.0919 0.0937)
OKLCHoklch(50.14% 0.131 134.5)
XYZxyz(8.4754, 13.4508, 3.0137)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417318 #4A1873
analogous
#6F7318 #417318 #18731C
triadic
#417318 #184173 #731841
tetradic
#417318 #186F73 #4A1873 #731C18
square
#417318 #186F73 #4A1873 #731C18
split-complementary
#417318 #1C1873 #73186F
monochromatic
#0E1905 #24400D #417318 #5EA623 #7BD431

Accessibility & contrast

On white

5.69
#417318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#417318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417318
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417318#FFFFFF#000000##FFFFFF
##4173181.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786904
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#406E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #417318;
/* rgb */ color: rgb(65, 115, 24);
/* oklch */ color: oklch(50.1% 0.131 134.5);
Tailwind
colors: {
  custom: {
    50: '#7b9c5c',
    500: '#417318',
    950: '#000000',
  },
}
SCSS
$custom: #417318;
$custom-light: #7b9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417318",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 92.967,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.5014,
    "c": 0.13122,
    "h": 134.5
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#417318
secondary
#793FA8
accent
#3FE89C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417318

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

Preview Lab → · Contrast checker → · Palette generator →

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