#406719#406719

#406719 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 46.8% C 0.115 H 132.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#406719
RGBrgb(64, 103, 25)
HSLhsl(90, 61%, 25%)
HSVhsv(90, 76%, 40%)
CMYKcmyk(37.9%, 0%, 75.7%, 59.6%)
CIE-LABlab(39.34, -27.58, 37.54)
CIE-LCHlch(39.34, 46.58, 126.31°)
OKLaboklab(46.78% -0.0776 0.0845)
OKLCHoklch(46.78% 0.115 132.6)
XYZxyz(7.1400, 10.8604, 2.6396)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406719 #401967
analogous
#676719 #406719 #196719
triadic
#406719 #194067 #671940
tetradic
#406719 #196767 #401967 #671919
square
#406719 #196767 #401967 #671919
split-complementary
#406719 #191967 #671967
monochromatic
#0F1906 #21360D #406719 #5F9825 #7DC931

Accessibility & contrast

On white

6.62
#406719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#406719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406719
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406719#FFFFFF#000000##FFFFFF
##4067191.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#665C20
Tritanopia (blue-blind)
#416358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406719;
/* rgb */ color: rgb(64, 103, 25);
/* oklch */ color: oklch(46.8% 0.115 132.6);
Tailwind
colors: {
  custom: {
    50: '#78925b',
    500: '#406719',
    950: '#000000',
  },
}
SCSS
$custom: #406719;
$custom-light: #78925b;
$custom-dark: #000000;
JSON
{
  "hex": "#406719",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 25
  },
  "hsl": {
    "h": 90,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46782,
    "c": 0.11478,
    "h": 132.6
  },
  "luminance": 0.10861
}

Semantic roles & 50–950 ramp

primary
#406719
secondary
#6E3F9D
accent
#44E494
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406719

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

Preview Lab → · Contrast checker → · Palette generator →

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