#417118#417118

#417118 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.129 H 134.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#417118
RGBrgb(65, 113, 24)
HSLhsl(92, 65%, 27%)
HSVhsv(92, 79%, 44%)
CMYKcmyk(42.5%, 0%, 78.8%, 55.7%)
CIE-LABlab(42.76, -31.91, 41.32)
CIE-LCHlch(42.76, 52.21, 127.67°)
OKLaboklab(49.59% -0.0895 0.0923)
OKLCHoklch(49.59% 0.129 134.1)
XYZxyz(8.2498, 12.9996, 2.9385)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417118 #481871
analogous
#6E7118 #417118 #18711C
triadic
#417118 #184171 #711841
tetradic
#417118 #186E71 #481871 #711C18
square
#417118 #186E71 #481871 #711C18
split-complementary
#417118 #1C1871 #71186E
monochromatic
#0F1905 #243F0D #417118 #5EA323 #7BD330

Accessibility & contrast

On white

5.83
#417118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#417118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417118
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417118#FFFFFF#000000##FFFFFF
##4171181.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766705
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#406C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #417118;
/* rgb */ color: rgb(65, 113, 24);
/* oklch */ color: oklch(49.6% 0.129 134.1);
Tailwind
colors: {
  custom: {
    50: '#7a9a5c',
    500: '#417118',
    950: '#000000',
  },
}
SCSS
$custom: #417118;
$custom-light: #7a9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417118",
  "rgb": {
    "r": 65,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 92.36,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.12855,
    "h": 134.1
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#417118
secondary
#763EA6
accent
#40E89B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417118

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

Preview Lab → · Contrast checker → · Palette generator →

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