#417B14#417B14

#417B14 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.3% C 0.144 H 135.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#417B14
RGBrgb(65, 123, 20)
HSLhsl(94, 72%, 28%)
HSVhsv(94, 84%, 48%)
CMYKcmyk(47.2%, 0%, 83.7%, 51.8%)
CIE-LABlab(46.10, -36.52, 45.81)
CIE-LCHlch(46.10, 58.59, 128.56°)
OKLaboklab(52.32% -0.1022 0.101)
OKLCHoklch(52.32% 0.144 135.3)
XYZxyz(9.3890, 15.3397, 3.1278)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B14 #4E147B
analogous
#747B14 #417B14 #147B1A
triadic
#417B14 #14417B #7B1441
tetradic
#417B14 #14747B #4E147B #7B1A14
square
#417B14 #14747B #4E147B #7B1A14
split-complementary
#417B14 #1A147B #7B1474
monochromatic
#0E1A04 #25460B #417B14 #5DB01D #7ADD2D

Accessibility & contrast

On white

5.16
#417B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#417B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417B14
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417B14#FFFFFF#000000##FFFFFF
##417B141.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#3F7668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b14;
/* rgb */ color: rgb(65, 123, 20);
/* oklch */ color: oklch(52.3% 0.144 135.3);
Tailwind
colors: {
  custom: {
    50: '#7ca25c',
    500: '#417b14',
    950: '#000000',
  },
}
SCSS
$custom: #417b14;
$custom-light: #7ca25c;
$custom-dark: #000000;
JSON
{
  "hex": "#417b14",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 93.786,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52316,
    "c": 0.1437,
    "h": 135.3
  },
  "luminance": 0.1534
}

Semantic roles & 50–950 ramp

primary
#417B14
secondary
#7D3AB1
accent
#39EF9F
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #417B14

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

Preview Lab → · Contrast checker → · Palette generator →

#417B14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva