#407E10#407E10

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

Color values

HEX#407E10
RGBrgb(64, 126, 16)
HSLhsl(94, 77%, 28%)
HSVhsv(94, 87%, 49%)
CMYKcmyk(49.2%, 0%, 87.3%, 50.6%)
CIE-LABlab(47.04, -38.31, 47.76)
CIE-LCHlch(47.04, 61.23, 128.74°)
OKLaboklab(53.07% -0.1071 0.1046)
OKLCHoklch(53.07% 0.15 135.7)
XYZxyz(9.6685, 16.0485, 3.0783)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E10 #4E107E
analogous
#777E10 #407E10 #107E17
triadic
#407E10 #10407E #7E1040
tetradic
#407E10 #10777E #4E107E #7E1710
square
#407E10 #10777E #4E107E #7E1710
split-complementary
#407E10 #17107E #7E1077
monochromatic
#0E1B03 #244809 #407E10 #5CB417 #78E325

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407E10#FFFFFF#000000##FFFFFF
##407E101.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)
#7B6E1F
Tritanopia (blue-blind)
#3E796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407e10;
/* rgb */ color: rgb(64, 126, 16);
/* oklch */ color: oklch(53.1% 0.150 135.7);
Tailwind
colors: {
  custom: {
    50: '#7ca45b',
    500: '#407e10',
    950: '#000000',
  },
}
SCSS
$custom: #407e10;
$custom-light: #7ca45b;
$custom-dark: #000000;
JSON
{
  "hex": "#407e10",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 93.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53073,
    "c": 0.1497,
    "h": 135.7
  },
  "luminance": 0.16049
}

Semantic roles & 50–950 ramp

primary
#407E10
secondary
#7D36B4
accent
#34F4A0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #407E10

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

Preview Lab → · Contrast checker → · Palette generator →

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