#407E19#407E19

#407E19 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.1% C 0.146 H 136.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#407E19
RGBrgb(64, 126, 25)
HSLhsl(97, 67%, 30%)
HSVhsv(97, 80%, 49%)
CMYKcmyk(49.2%, 0%, 80.2%, 50.6%)
CIE-LABlab(47.08, -37.84, 45.11)
CIE-LCHlch(47.08, 58.88, 129.99°)
OKLaboklab(53.12% -0.1053 0.1004)
OKLCHoklch(53.12% 0.146 136.4)
XYZxyz(9.7504, 16.0812, 3.5097)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E19 #57197E
analogous
#727E19 #407E19 #197E25
triadic
#407E19 #19407E #7E1940
tetradic
#407E19 #19727E #57197E #7E2519
square
#407E19 #19727E #57197E #7E2519
split-complementary
#407E19 #25197E #7E1972
monochromatic
#0D1A05 #264B0F #407E19 #5AB123 #77D83A

Accessibility & contrast

On white

4.98
#407E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#407E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407E19
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E19#FFFFFF#000000##FFFFFF
##407E191.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#3D796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407e19;
/* rgb */ color: rgb(64, 126, 25);
/* oklch */ color: oklch(53.1% 0.146 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ba45f',
    500: '#407e19',
    950: '#000000',
  },
}
SCSS
$custom: #407e19;
$custom-light: #7ba45f;
$custom-dark: #000000;
JSON
{
  "hex": "#407e19",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 96.832,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53122,
    "c": 0.14551,
    "h": 136.4
  },
  "luminance": 0.16082
}

Semantic roles & 50–950 ramp

primary
#407E19
secondary
#8641B2
accent
#3EEAA7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #407E19

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

Preview Lab → · Contrast checker → · Palette generator →

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