#407A14#407A14

#407A14 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.0% C 0.143 H 135.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#407A14
RGBrgb(64, 122, 20)
HSLhsl(94, 72%, 28%)
HSVhsv(94, 84%, 48%)
CMYKcmyk(47.5%, 0%, 83.6%, 52.2%)
CIE-LABlab(45.71, -36.44, 45.44)
CIE-LCHlch(45.71, 58.25, 128.73°)
OKLaboklab(51.99% -0.1019 0.1003)
OKLCHoklch(51.99% 0.143 135.5)
XYZxyz(9.1999, 15.0590, 3.0836)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A14 #4E147A
analogous
#737A14 #407A14 #147A1B
triadic
#407A14 #14407A #7A1440
tetradic
#407A14 #14737A #4E147A #7A1B14
square
#407A14 #14737A #4E147A #7A1B14
split-complementary
#407A14 #1B147A #7A1473
monochromatic
#0E1A04 #24450B #407A14 #5CAF1D #78DC2C

Accessibility & contrast

On white

5.23
#407A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#407A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A14
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A14#FFFFFF#000000##FFFFFF
##407A141.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#3E7567
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #407a14;
/* rgb */ color: rgb(64, 122, 20);
/* oklch */ color: oklch(52.0% 0.143 135.5);
Tailwind
colors: {
  custom: {
    50: '#7ba15c',
    500: '#407a14',
    950: '#000000',
  },
}
SCSS
$custom: #407a14;
$custom-light: #7ba15c;
$custom-dark: #000000;
JSON
{
  "hex": "#407a14",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 94.118,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.14297,
    "h": 135.5
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#407A14
secondary
#7D3AB0
accent
#39EFA0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #407A14

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

Preview Lab → · Contrast checker → · Palette generator →

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