#406920#406920

#406920 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.4% C 0.112 H 134.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#406920
RGBrgb(64, 105, 32)
HSLhsl(94, 53%, 27%)
HSVhsv(94, 70%, 41%)
CMYKcmyk(39%, 0%, 69.5%, 58.8%)
CIE-LABlab(40.08, -27.95, 35.25)
CIE-LCHlch(40.08, 44.99, 128.41°)
OKLaboklab(47.4% -0.078 0.0808)
OKLCHoklch(47.4% 0.112 134)
XYZxyz(7.4265, 11.2971, 3.1555)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406920 #492069
analogous
#656920 #406920 #206925
triadic
#406920 #204069 #692040
tetradic
#406920 #206569 #492069 #692520
square
#406920 #206569 #492069 #692520
split-complementary
#406920 #252069 #692065
monochromatic
#0E1707 #233A12 #406920 #5D982E #79C43F

Accessibility & contrast

On white

6.44
#406920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#406920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406920
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406920#FFFFFF#000000##FFFFFF
##4069201.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6116
Deuteranopia (green-blind)
#685D26
Tritanopia (blue-blind)
#40655A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #406920;
/* rgb */ color: rgb(64, 105, 32);
/* oklch */ color: oklch(47.4% 0.112 134.0);
Tailwind
colors: {
  custom: {
    50: '#78945f',
    500: '#406920',
    950: '#000000',
  },
}
SCSS
$custom: #406920;
$custom-light: #78945f;
$custom-dark: #000000;
JSON
{
  "hex": "#406920",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 32
  },
  "hsl": {
    "h": 93.699,
    "s": 53.285,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47398,
    "c": 0.11233,
    "h": 134
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#406920
secondary
#78489D
accent
#4BDD9D
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D05
muted
#7B7E79

Preview Lab

Preview with #406920

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

Preview Lab → · Contrast checker → · Palette generator →

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