#417312#417312

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

Color values

HEX#417312
RGBrgb(65, 115, 18)
HSLhsl(91, 73%, 26%)
HSVhsv(91, 84%, 45%)
CMYKcmyk(43.5%, 0%, 84.3%, 54.9%)
CIE-LABlab(43.40, -33.15, 43.95)
CIE-LCHlch(43.40, 55.05, 127.03°)
OKLaboklab(50.1% -0.0933 0.0968)
OKLCHoklch(50.1% 0.134 133.9)
XYZxyz(8.4197, 13.4285, 2.7205)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417312 #441273
analogous
#717312 #417312 #127314
triadic
#417312 #124173 #731241
tetradic
#417312 #127173 #441273 #731412
square
#417312 #127173 #441273 #731412
split-complementary
#417312 #141273 #731271
monochromatic
#0F1A04 #233E0A #417312 #5FA81A #7DDD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417312#FFFFFF#000000##FFFFFF
##4173121.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417312;
/* rgb */ color: rgb(65, 115, 18);
/* oklch */ color: oklch(50.1% 0.134 133.9);
Tailwind
colors: {
  custom: {
    50: '#7b9c5a',
    500: '#417312',
    950: '#000000',
  },
}
SCSS
$custom: #417312;
$custom-light: #7b9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#417312",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 90.928,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.13443,
    "h": 133.9
  },
  "luminance": 0.13429
}

Semantic roles & 50–950 ramp

primary
#417312
secondary
#7237AA
accent
#38F097
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417312

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

Preview Lab → · Contrast checker → · Palette generator →

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