#407919#407919

#407919 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.139 H 135.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#407919
RGBrgb(64, 121, 25)
HSLhsl(96, 66%, 29%)
HSVhsv(96, 79%, 47%)
CMYKcmyk(47.1%, 0%, 79.3%, 52.5%)
CIE-LABlab(45.41, -35.72, 43.50)
CIE-LCHlch(45.41, 56.29, 129.39°)
OKLaboklab(51.75% -0.0996 0.097)
OKLCHoklch(51.75% 0.139 135.8)
XYZxyz(9.1270, 14.8344, 3.3019)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407919 #521979
analogous
#707919 #407919 #197922
triadic
#407919 #194079 #791940
tetradic
#407919 #197079 #521979 #792219
square
#407919 #197079 #521979 #792219
split-complementary
#407919 #221979 #791970
monochromatic
#0D1905 #25460F #407919 #5BAC23 #77D637

Accessibility & contrast

On white

5.29
#407919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#407919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407919
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407919#FFFFFF#000000##FFFFFF
##4079191.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E03
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#3E7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #407919;
/* rgb */ color: rgb(64, 121, 25);
/* oklch */ color: oklch(51.7% 0.139 135.8);
Tailwind
colors: {
  custom: {
    50: '#7ba05e',
    500: '#407919',
    950: '#000000',
  },
}
SCSS
$custom: #407919;
$custom-light: #7ba05e;
$custom-dark: #000000;
JSON
{
  "hex": "#407919",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 95.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.13907,
    "h": 135.8
  },
  "luminance": 0.14835
}

Semantic roles & 50–950 ramp

primary
#407919
secondary
#8140AE
accent
#3FE9A4
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #407919

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

Preview Lab → · Contrast checker → · Palette generator →

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