#407C11#407C11

#407C11 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.5% C 0.147 H 135.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#407C11
RGBrgb(64, 124, 17)
HSLhsl(94, 76%, 28%)
HSVhsv(94, 86%, 49%)
CMYKcmyk(48.4%, 0%, 86.3%, 51.4%)
CIE-LABlab(46.37, -37.43, 46.90)
CIE-LCHlch(46.37, 60.01, 128.59°)
OKLaboklab(52.53% -0.1047 0.1029)
OKLCHoklch(52.53% 0.147 135.5)
XYZxyz(9.4230, 15.5452, 3.0342)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407C11 #4D117C
analogous
#757C11 #407C11 #117C17
triadic
#407C11 #11407C #7C1140
tetradic
#407C11 #11757C #4D117C #7C1711
square
#407C11 #11757C #4D117C #7C1711
split-complementary
#407C11 #17117C #7C1175
monochromatic
#0E1B04 #24460A #407C11 #5CB218 #78E126

Accessibility & contrast

On white

5.11
#407C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#407C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407C11
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407C11#FFFFFF#000000##FFFFFF
##407C111.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #407c11;
/* rgb */ color: rgb(64, 124, 17);
/* oklch */ color: oklch(52.5% 0.147 135.5);
Tailwind
colors: {
  custom: {
    50: '#7ba25b',
    500: '#407c11',
    950: '#000000',
  },
}
SCSS
$custom: #407c11;
$custom-light: #7ba25b;
$custom-dark: #000000;
JSON
{
  "hex": "#407c11",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 17
  },
  "hsl": {
    "h": 93.645,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52526,
    "c": 0.14682,
    "h": 135.5
  },
  "luminance": 0.15546
}

Semantic roles & 50–950 ramp

primary
#407C11
secondary
#7C37B2
accent
#35F29F
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #407C11

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

Preview Lab → · Contrast checker → · Palette generator →

#407C11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva