#417315#417315

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

Color values

HEX#417315
RGBrgb(65, 115, 21)
HSLhsl(92, 69%, 27%)
HSVhsv(92, 82%, 45%)
CMYKcmyk(43.5%, 0%, 81.7%, 54.9%)
CIE-LABlab(43.42, -32.99, 43.00)
CIE-LCHlch(43.42, 54.20, 127.49°)
OKLaboklab(50.12% -0.0926 0.0953)
OKLCHoklch(50.12% 0.133 134.2)
XYZxyz(8.4459, 13.4390, 2.8583)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417315 #471573
analogous
#707315 #417315 #157318
triadic
#417315 #154173 #731541
tetradic
#417315 #157073 #471573 #731815
square
#417315 #157073 #471573 #731815
split-complementary
#417315 #181573 #731570
monochromatic
#0F1A05 #243F0C #417315 #5EA71E #7CD82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417315#FFFFFF#000000##FFFFFF
##4173151.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)
#786900
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#406E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #417315;
/* rgb */ color: rgb(65, 115, 21);
/* oklch */ color: oklch(50.1% 0.133 134.2);
Tailwind
colors: {
  custom: {
    50: '#7b9c5b',
    500: '#417315',
    950: '#000000',
  },
}
SCSS
$custom: #417315;
$custom-light: #7b9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#417315",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 91.915,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.13291,
    "h": 134.2
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#417315
secondary
#753BA9
accent
#3CEC9A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417315

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

Preview Lab → · Contrast checker → · Palette generator →

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