#407013#407013

#407013 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.2% C 0.131 H 133.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#407013
RGBrgb(64, 112, 19)
HSLhsl(91, 71%, 26%)
HSVhsv(91, 83%, 44%)
CMYKcmyk(42.9%, 0%, 83%, 56.1%)
CIE-LABlab(42.35, -32.13, 42.64)
CIE-LCHlch(42.35, 53.39, 127.00°)
OKLaboklab(49.23% -0.0904 0.0943)
OKLCHoklch(49.23% 0.131 133.8)
XYZxyz(8.0259, 12.7249, 2.6492)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407013 #431370
analogous
#6E7013 #407013 #137015
triadic
#407013 #134070 #701340
tetradic
#407013 #136E70 #431370 #701513
square
#407013 #136E70 #431370 #701513
split-complementary
#407013 #151370 #70136E
monochromatic
#0F1A04 #223C0A #407013 #5EA41C #7CD925

Accessibility & contrast

On white

5.92
#407013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#407013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407013
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407013#FFFFFF#000000##FFFFFF
##4070131.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6E631E
Tritanopia (blue-blind)
#406B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #407013;
/* rgb */ color: rgb(64, 112, 19);
/* oklch */ color: oklch(49.2% 0.131 133.8);
Tailwind
colors: {
  custom: {
    50: '#7a995a',
    500: '#407013',
    950: '#000000',
  },
}
SCSS
$custom: #407013;
$custom-light: #7a995a;
$custom-dark: #000000;
JSON
{
  "hex": "#407013",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 90.968,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49225,
    "c": 0.13059,
    "h": 133.8
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#407013
secondary
#7138A7
accent
#3AEE97
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407013

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

Preview Lab → · Contrast checker → · Palette generator →

#407013 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva