#407513#407513

#407513 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.6% C 0.137 H 134.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#407513
RGBrgb(64, 117, 19)
HSLhsl(92, 72%, 27%)
HSVhsv(92, 84%, 46%)
CMYKcmyk(45.3%, 0%, 83.8%, 54.1%)
CIE-LABlab(44.03, -34.34, 44.20)
CIE-LCHlch(44.03, 55.97, 127.85°)
OKLaboklab(50.61% -0.0963 0.0975)
OKLCHoklch(50.61% 0.137 134.6)
XYZxyz(8.5930, 13.8591, 2.8383)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407513 #481375
analogous
#717513 #407513 #137517
triadic
#407513 #134075 #751340
tetradic
#407513 #137175 #481375 #751713
square
#407513 #137175 #481375 #751713
split-complementary
#407513 #171375 #751371
monochromatic
#0E1A04 #23400A #407513 #5DAA1C #7ADC27

Accessibility & contrast

On white

5.57
#407513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#407513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407513
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407513#FFFFFF#000000##FFFFFF
##4075131.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#3F7063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #407513;
/* rgb */ color: rgb(64, 117, 19);
/* oklch */ color: oklch(50.6% 0.137 134.6);
Tailwind
colors: {
  custom: {
    50: '#7a9d5b',
    500: '#407513',
    950: '#000000',
  },
}
SCSS
$custom: #407513;
$custom-light: #7a9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#407513",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 92.449,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50606,
    "c": 0.13708,
    "h": 134.6
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

primary
#407513
secondary
#7738AB
accent
#39EF9B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407513

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

Preview Lab → · Contrast checker → · Palette generator →

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