#417C1C#417C1C

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

Color values

HEX#417C1C
RGBrgb(65, 124, 28)
HSLhsl(97, 63%, 30%)
HSVhsv(97, 77%, 49%)
CMYKcmyk(47.6%, 0%, 77.4%, 51.4%)
CIE-LABlab(46.48, -36.46, 43.48)
CIE-LCHlch(46.48, 56.74, 129.98°)
OKLaboklab(52.64% -0.1015 0.0974)
OKLCHoklch(52.64% 0.141 136.2)
XYZxyz(9.5970, 15.6224, 3.6081)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C1C #571C7C
analogous
#717C1C #417C1C #1C7C27
triadic
#417C1C #1C417C #7C1C41
tetradic
#417C1C #1C717C #571C7C #7C271C
square
#417C1C #1C717C #571C7C #7C271C
split-complementary
#417C1C #271C7C #7C1C71
monochromatic
#0D1906 #274A11 #417C1C #5BAE27 #78D43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417C1C#FFFFFF#000000##FFFFFF
##417C1C1.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)
#817108
Deuteranopia (green-blind)
#796C26
Tritanopia (blue-blind)
#3E776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c1c;
/* rgb */ color: rgb(65, 124, 28);
/* oklch */ color: oklch(52.6% 0.141 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ca260',
    500: '#417c1c',
    950: '#000000',
  },
}
SCSS
$custom: #417c1c;
$custom-light: #7ca260;
$custom-dark: #000000;
JSON
{
  "hex": "#417c1c",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 96.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52642,
    "c": 0.14069,
    "h": 136.2
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#417C1C
secondary
#8644B0
accent
#42E6A7
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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