#407E13#407E13

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

Color values

HEX#407E13
RGBrgb(64, 126, 19)
HSLhsl(95, 74%, 28%)
HSVhsv(95, 85%, 49%)
CMYKcmyk(49.2%, 0%, 84.9%, 50.6%)
CIE-LABlab(47.05, -38.17, 46.96)
CIE-LCHlch(47.05, 60.51, 129.11°)
OKLaboklab(53.09% -0.1066 0.1033)
OKLCHoklch(53.09% 0.148 135.9)
XYZxyz(9.6925, 16.0581, 3.2048)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E13 #51137E
analogous
#757E13 #407E13 #137E1B
triadic
#407E13 #13407E #7E1340
tetradic
#407E13 #13757E #51137E #7E1B13
square
#407E13 #13757E #51137E #7E1B13
split-complementary
#407E13 #1B137E #7E1375
monochromatic
#0E1B04 #25490B #407E13 #5BB31B #77DF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407E13#FFFFFF#000000##FFFFFF
##407E131.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)
#7B6E20
Tritanopia (blue-blind)
#3D796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407e13;
/* rgb */ color: rgb(64, 126, 19);
/* oklch */ color: oklch(53.1% 0.148 135.9);
Tailwind
colors: {
  custom: {
    50: '#7ca45c',
    500: '#407e13',
    950: '#000000',
  },
}
SCSS
$custom: #407e13;
$custom-light: #7ca45c;
$custom-dark: #000000;
JSON
{
  "hex": "#407e13",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 94.766,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.14845,
    "h": 135.9
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#407E13
secondary
#8039B4
accent
#37F0A3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #407E13

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

Preview Lab → · Contrast checker → · Palette generator →

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