#407A13#407A13

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

Color values

HEX#407A13
RGBrgb(64, 122, 19)
HSLhsl(94, 73%, 28%)
HSVhsv(94, 84%, 48%)
CMYKcmyk(47.5%, 0%, 84.4%, 52.2%)
CIE-LABlab(45.71, -36.49, 45.74)
CIE-LCHlch(45.71, 58.51, 128.58°)
OKLaboklab(51.99% -0.1021 0.1008)
OKLCHoklch(51.99% 0.143 135.4)
XYZxyz(9.1912, 15.0555, 3.0377)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A13 #4D137A
analogous
#747A13 #407A13 #137A19
triadic
#407A13 #13407A #7A1340
tetradic
#407A13 #13747A #4D137A #7A1913
square
#407A13 #13747A #4D137A #7A1913
split-complementary
#407A13 #19137A #7A1374
monochromatic
#0E1A04 #24450B #407A13 #5CAF1B #78DE2A

Accessibility & contrast

On white

5.24
#407A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #407A13
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A13#FFFFFF#000000##FFFFFF
##407A131.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #407a13;
/* rgb */ color: rgb(64, 122, 19);
/* oklch */ color: oklch(52.0% 0.143 135.4);
Tailwind
colors: {
  custom: {
    50: '#7ba15b',
    500: '#407a13',
    950: '#000000',
  },
}
SCSS
$custom: #407a13;
$custom-light: #7ba15b;
$custom-dark: #000000;
JSON
{
  "hex": "#407a13",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 19
  },
  "hsl": {
    "h": 93.786,
    "s": 73.05,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51985,
    "c": 0.14344,
    "h": 135.4
  },
  "luminance": 0.15056
}

Semantic roles & 50–950 ramp

primary
#407A13
secondary
#7C39B0
accent
#38F09F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #407A13

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

Preview Lab → · Contrast checker → · Palette generator →

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