#417C1B#417C1B

#417C1B is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.6% C 0.141 H 136.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#417C1B
RGBrgb(65, 124, 27)
HSLhsl(96, 64%, 30%)
HSVhsv(96, 78%, 49%)
CMYKcmyk(47.6%, 0%, 78.2%, 51.4%)
CIE-LABlab(46.47, -36.53, 43.84)
CIE-LCHlch(46.47, 57.06, 129.81°)
OKLaboklab(52.64% -0.1017 0.098)
OKLCHoklch(52.64% 0.141 136.1)
XYZxyz(9.5852, 15.6176, 3.5461)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C1B #561B7C
analogous
#727C1B #417C1B #1B7C26
triadic
#417C1B #1B417C #7C1B41
tetradic
#417C1B #1B727C #561B7C #7C261B
square
#417C1B #1B727C #561B7C #7C261B
split-complementary
#417C1B #261B7C #7C1B72
monochromatic
#0D1905 #274A10 #417C1B #5BAE26 #78D53D

Accessibility & contrast

On white

5.09
#417C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#417C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417C1B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C1B#FFFFFF#000000##FFFFFF
##417C1B1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817105
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#3F776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c1b;
/* rgb */ color: rgb(65, 124, 27);
/* oklch */ color: oklch(52.6% 0.141 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ca25f',
    500: '#417c1b',
    950: '#000000',
  },
}
SCSS
$custom: #417c1b;
$custom-light: #7ca25f;
$custom-dark: #000000;
JSON
{
  "hex": "#417c1b",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 96.495,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52635,
    "c": 0.14128,
    "h": 136.1
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#417C1B
secondary
#8543B0
accent
#41E7A6
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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