#407119#407119

#407119 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.5% C 0.129 H 134.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#407119
RGBrgb(64, 113, 25)
HSLhsl(93, 64%, 27%)
HSVhsv(93, 78%, 44%)
CMYKcmyk(43.4%, 0%, 77.9%, 55.7%)
CIE-LABlab(42.72, -32.21, 40.89)
CIE-LCHlch(42.72, 52.05, 128.23°)
OKLaboklab(49.54% -0.0902 0.0916)
OKLCHoklch(49.54% 0.129 134.6)
XYZxyz(8.1948, 12.9700, 2.9912)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407119 #4A1971
analogous
#6C7119 #407119 #19711E
triadic
#407119 #194071 #711940
tetradic
#407119 #196C71 #4A1971 #711E19
square
#407119 #196C71 #4A1971 #711E19
split-complementary
#407119 #1E1971 #71196C
monochromatic
#0E1906 #243F0E #407119 #5CA324 #79D233

Accessibility & contrast

On white

5.84
#407119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#407119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407119
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407119#FFFFFF#000000##FFFFFF
##4071191.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766707
Deuteranopia (green-blind)
#6F6322
Tritanopia (blue-blind)
#3F6C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #407119;
/* rgb */ color: rgb(64, 113, 25);
/* oklch */ color: oklch(49.5% 0.129 134.6);
Tailwind
colors: {
  custom: {
    50: '#7a9a5d',
    500: '#407119',
    950: '#000000',
  },
}
SCSS
$custom: #407119;
$custom-light: #7a9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#407119",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 93.409,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49541,
    "c": 0.12851,
    "h": 134.6
  },
  "luminance": 0.1297
}

Semantic roles & 50–950 ramp

primary
#407119
secondary
#7940A6
accent
#41E79D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407119

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

Preview Lab → · Contrast checker → · Palette generator →

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