#407019#407019

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

Color values

HEX#407019
RGBrgb(64, 112, 25)
HSLhsl(93, 64%, 27%)
HSVhsv(93, 78%, 44%)
CMYKcmyk(42.9%, 0%, 77.7%, 56.1%)
CIE-LABlab(42.38, -31.76, 40.56)
CIE-LCHlch(42.38, 51.51, 128.06°)
OKLaboklab(49.27% -0.0889 0.0909)
OKLCHoklch(49.27% 0.127 134.4)
XYZxyz(8.0838, 12.7481, 2.9542)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407019 #491970
analogous
#6C7019 #407019 #19701D
triadic
#407019 #194070 #701940
tetradic
#407019 #196C70 #491970 #701D19
square
#407019 #196C70 #491970 #701D19
split-complementary
#407019 #1D1970 #70196C
monochromatic
#0E1906 #233E0E #407019 #5DA224 #79D132

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407019#FFFFFF#000000##FFFFFF
##4070191.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)
#756607
Deuteranopia (green-blind)
#6E6322
Tritanopia (blue-blind)
#3F6B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #407019;
/* rgb */ color: rgb(64, 112, 25);
/* oklch */ color: oklch(49.3% 0.127 134.4);
Tailwind
colors: {
  custom: {
    50: '#79995d',
    500: '#407019',
    950: '#000000',
  },
}
SCSS
$custom: #407019;
$custom-light: #79995d;
$custom-dark: #000000;
JSON
{
  "hex": "#407019",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 93.103,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49265,
    "c": 0.12715,
    "h": 134.4
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#407019
secondary
#7840A5
accent
#41E79C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #407019

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

Preview Lab → · Contrast checker → · Palette generator →

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