#407C14#407C14

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

Color values

HEX#407C14
RGBrgb(64, 124, 20)
HSLhsl(95, 72%, 28%)
HSVhsv(95, 84%, 49%)
CMYKcmyk(48.4%, 0%, 83.9%, 51.4%)
CIE-LABlab(46.39, -37.29, 46.06)
CIE-LCHlch(46.39, 59.26, 128.99°)
OKLaboklab(52.54% -0.1042 0.1016)
OKLCHoklch(52.54% 0.146 135.7)
XYZxyz(9.4480, 15.5552, 3.1663)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407C14 #50147C
analogous
#747C14 #407C14 #147C1C
triadic
#407C14 #14407C #7C1440
tetradic
#407C14 #14747C #50147C #7C1C14
square
#407C14 #14747C #50147C #7C1C14
split-complementary
#407C14 #1C147C #7C1474
monochromatic
#0E1A04 #25470B #407C14 #5BB11D #78DD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407C14#FFFFFF#000000##FFFFFF
##407C141.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)
#796C21
Tritanopia (blue-blind)
#3E7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #407c14;
/* rgb */ color: rgb(64, 124, 20);
/* oklch */ color: oklch(52.5% 0.145 135.7);
Tailwind
colors: {
  custom: {
    50: '#7ba25c',
    500: '#407c14',
    950: '#000000',
  },
}
SCSS
$custom: #407c14;
$custom-light: #7ba25c;
$custom-dark: #000000;
JSON
{
  "hex": "#407c14",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 94.615,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.1455,
    "h": 135.7
  },
  "luminance": 0.15556
}

Semantic roles & 50–950 ramp

primary
#407C14
secondary
#7F3AB2
accent
#39EFA2
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #407C14

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

Preview Lab → · Contrast checker → · Palette generator →

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