#407B14#407B14

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

Color values

HEX#407B14
RGBrgb(64, 123, 20)
HSLhsl(94, 72%, 28%)
HSVhsv(94, 84%, 48%)
CMYKcmyk(48%, 0%, 83.7%, 51.8%)
CIE-LABlab(46.05, -36.86, 45.75)
CIE-LCHlch(46.05, 58.75, 128.86°)
OKLaboklab(52.27% -0.103 0.1009)
OKLCHoklch(52.27% 0.144 135.6)
XYZxyz(9.3234, 15.3058, 3.1247)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B14 #4F147B
analogous
#737B14 #407B14 #147B1B
triadic
#407B14 #14407B #7B1440
tetradic
#407B14 #14737B #4F147B #7B1B14
square
#407B14 #14737B #4F147B #7B1B14
split-complementary
#407B14 #1B147B #7B1473
monochromatic
#0E1A04 #25460B #407B14 #5BB01D #78DD2D

Accessibility & contrast

On white

5.17
#407B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#407B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407B14
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407B14#FFFFFF#000000##FFFFFF
##407B141.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #407b14;
/* rgb */ color: rgb(64, 123, 20);
/* oklch */ color: oklch(52.3% 0.144 135.6);
Tailwind
colors: {
  custom: {
    50: '#7ba25c',
    500: '#407b14',
    950: '#000000',
  },
}
SCSS
$custom: #407b14;
$custom-light: #7ba25c;
$custom-dark: #000000;
JSON
{
  "hex": "#407b14",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 94.369,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52266,
    "c": 0.14424,
    "h": 135.6
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#407B14
secondary
#7E3AB1
accent
#39EFA1
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #407B14

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

Preview Lab → · Contrast checker → · Palette generator →

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