#407E14#407E14

#407E14 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.1% C 0.148 H 136.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#407E14
RGBrgb(64, 126, 20)
HSLhsl(95, 73%, 29%)
HSVhsv(95, 84%, 49%)
CMYKcmyk(49.2%, 0%, 84.1%, 50.6%)
CIE-LABlab(47.06, -38.12, 46.67)
CIE-LCHlch(47.06, 60.26, 129.24°)
OKLaboklab(53.09% -0.1064 0.1029)
OKLCHoklch(53.09% 0.148 136)
XYZxyz(9.7012, 16.0616, 3.2507)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E14 #52147E
analogous
#757E14 #407E14 #147E1D
triadic
#407E14 #14407E #7E1440
tetradic
#407E14 #14757E #52147E #7E1D14
square
#407E14 #14757E #52147E #7E1D14
split-complementary
#407E14 #1D147E #7E1475
monochromatic
#0D1A04 #25490C #407E14 #5BB31C #77DE2E

Accessibility & contrast

On white

4.99
#407E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#407E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407E14
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E14#FFFFFF#000000##FFFFFF
##407E141.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#3D796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407e14;
/* rgb */ color: rgb(64, 126, 20);
/* oklch */ color: oklch(53.1% 0.148 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ca45c',
    500: '#407e14',
    950: '#000000',
  },
}
SCSS
$custom: #407e14;
$custom-light: #7ca45c;
$custom-dark: #000000;
JSON
{
  "hex": "#407e14",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 95.094,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.148,
    "h": 136
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#407E14
secondary
#813AB3
accent
#38EFA3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #407E14

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

Preview Lab → · Contrast checker → · Palette generator →

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