#406722#406722

#406722 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 46.9% C 0.108 H 133.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#406722
RGBrgb(64, 103, 34)
HSLhsl(94, 50%, 27%)
HSVhsv(94, 67%, 40%)
CMYKcmyk(37.9%, 0%, 67%, 59.6%)
CIE-LABlab(39.42, -26.80, 33.60)
CIE-LCHlch(39.42, 42.98, 128.58°)
OKLaboklab(46.87% -0.0747 0.0776)
OKLCHoklch(46.87% 0.108 133.9)
XYZxyz(7.2532, 10.9057, 3.2359)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406722 #492267
analogous
#636722 #406722 #226727
triadic
#406722 #224067 #672240
tetradic
#406722 #226367 #492267 #672722
square
#406722 #226367 #492267 #672722
split-complementary
#406722 #272267 #672263
monochromatic
#0E1708 #233913 #406722 #5D9531 #79C143

Accessibility & contrast

On white

6.60
#406722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#406722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406722
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406722#FFFFFF#000000##FFFFFF
##4067221.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1A
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#406359
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406722;
/* rgb */ color: rgb(64, 103, 34);
/* oklch */ color: oklch(46.9% 0.108 133.9);
Tailwind
colors: {
  custom: {
    50: '#789260',
    500: '#406722',
    950: '#000000',
  },
}
SCSS
$custom: #406722;
$custom-light: #789260;
$custom-dark: #000000;
JSON
{
  "hex": "#406722",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 93.913,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46869,
    "c": 0.10773,
    "h": 133.9
  },
  "luminance": 0.10906
}

Semantic roles & 50–950 ramp

primary
#406722
secondary
#784A9B
accent
#4EDA9D
background
#F7F9F5
surface
#EDF1EA
border
#C8CBC6
text
#090D05
muted
#7B7E79

Preview Lab

Preview with #406722

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

Preview Lab → · Contrast checker → · Palette generator →

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