#417C12#417C12

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

Color values

HEX#417C12
RGBrgb(65, 124, 18)
HSLhsl(93, 75%, 28%)
HSVhsv(93, 85%, 49%)
CMYKcmyk(47.6%, 0%, 85.5%, 51.4%)
CIE-LABlab(46.42, -37.04, 46.69)
CIE-LCHlch(46.42, 59.60, 128.43°)
OKLaboklab(52.58% -0.1037 0.1026)
OKLCHoklch(52.58% 0.146 135.3)
XYZxyz(9.4966, 15.5822, 3.0794)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C12 #4D127C
analogous
#767C12 #417C12 #127C18
triadic
#417C12 #12417C #7C1241
tetradic
#417C12 #12767C #4D127C #7C1812
square
#417C12 #12767C #4D127C #7C1812
split-complementary
#417C12 #18127C #7C1276
monochromatic
#0E1B04 #25470A #417C12 #5DB11A #7AE029

Accessibility & contrast

On white

5.10
#417C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417C12
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C12#FFFFFF#000000##FFFFFF
##417C121.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#3F7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c12;
/* rgb */ color: rgb(65, 124, 18);
/* oklch */ color: oklch(52.6% 0.146 135.3);
Tailwind
colors: {
  custom: {
    50: '#7ca25b',
    500: '#417c12',
    950: '#000000',
  },
}
SCSS
$custom: #417c12;
$custom-light: #7ca25b;
$custom-dark: #000000;
JSON
{
  "hex": "#417c12",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 93.396,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.14587,
    "h": 135.3
  },
  "luminance": 0.15583
}

Semantic roles & 50–950 ramp

primary
#417C12
secondary
#7C38B2
accent
#37F19E
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #417C12

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

Preview Lab → · Contrast checker → · Palette generator →

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