#407C13#407C13

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

Color values

HEX#407C13
RGBrgb(64, 124, 19)
HSLhsl(94, 73%, 28%)
HSVhsv(94, 85%, 49%)
CMYKcmyk(48.4%, 0%, 84.7%, 51.4%)
CIE-LABlab(46.38, -37.34, 46.35)
CIE-LCHlch(46.38, 59.52, 128.85°)
OKLaboklab(52.54% -0.1044 0.102)
OKLCHoklch(52.54% 0.146 135.6)
XYZxyz(9.4393, 15.5517, 3.1204)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407C13 #4F137C
analogous
#747C13 #407C13 #137C1B
triadic
#407C13 #13407C #7C1340
tetradic
#407C13 #13747C #4F137C #7C1B13
square
#407C13 #13747C #4F137C #7C1B13
split-complementary
#407C13 #1B137C #7C1374
monochromatic
#0E1B04 #25470B #407C13 #5BB11B #78DF2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #407c13;
/* rgb */ color: rgb(64, 124, 19);
/* oklch */ color: oklch(52.5% 0.146 135.6);
Tailwind
colors: {
  custom: {
    50: '#7ba25c',
    500: '#407c13',
    950: '#000000',
  },
}
SCSS
$custom: #407c13;
$custom-light: #7ba25c;
$custom-dark: #000000;
JSON
{
  "hex": "#407c13",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 94.286,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.14596,
    "h": 135.6
  },
  "luminance": 0.15552
}

Semantic roles & 50–950 ramp

primary
#407C13
secondary
#7E39B2
accent
#38F0A1
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #407C13

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

Preview Lab → · Contrast checker → · Palette generator →

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