#417310#417310

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

Color values

HEX#417310
RGBrgb(65, 115, 16)
HSLhsl(90, 76%, 26%)
HSVhsv(90, 86%, 45%)
CMYKcmyk(43.5%, 0%, 86.1%, 54.9%)
CIE-LABlab(43.39, -33.25, 44.53)
CIE-LCHlch(43.39, 55.57, 126.75°)
OKLaboklab(50.09% -0.0936 0.0977)
OKLCHoklch(50.09% 0.135 133.8)
XYZxyz(8.4041, 13.4222, 2.6380)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417310 #421073
analogous
#727310 #417310 #107310
triadic
#417310 #104173 #731041
tetradic
#417310 #107273 #421073 #731010
square
#417310 #107273 #421073 #731010
split-complementary
#417310 #101073 #731072
monochromatic
#0F1B04 #233D09 #417310 #5FA917 #7EDE1F

Accessibility & contrast

On white

5.70
#417310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#417310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417310
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417310#FFFFFF#000000##FFFFFF
##4173101.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#416E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #417310;
/* rgb */ color: rgb(65, 115, 16);
/* oklch */ color: oklch(50.1% 0.135 133.8);
Tailwind
colors: {
  custom: {
    50: '#7b9c59',
    500: '#417310',
    950: '#000000',
  },
}
SCSS
$custom: #417310;
$custom-light: #7b9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#417310",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 90.303,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50092,
    "c": 0.13534,
    "h": 133.8
  },
  "luminance": 0.13423
}

Semantic roles & 50–950 ramp

primary
#417310
secondary
#7034AA
accent
#36F295
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417310

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

Preview Lab → · Contrast checker → · Palette generator →

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