#406427#406427

#406427 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.1% C 0.099 H 134.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#406427
RGBrgb(64, 100, 39)
HSLhsl(95, 44%, 27%)
HSVhsv(95, 61%, 39%)
CMYKcmyk(36%, 0%, 61%, 60.8%)
CIE-LABlab(38.46, -24.80, 30.03)
CIE-LCHlch(38.46, 38.95, 129.55°)
OKLaboklab(46.11% -0.0688 0.0705)
OKLCHoklch(46.11% 0.099 134.3)
XYZxyz(7.0376, 10.3505, 3.5461)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406427 #4B2764
analogous
#5F6427 #406427 #27642D
triadic
#406427 #274064 #642740
tetradic
#406427 #275F64 #4B2764 #642D27
square
#406427 #275F64 #4B2764 #642D27
split-complementary
#406427 #2D2764 #64275F
monochromatic
#0E1609 #243816 #406427 #5C9038 #79B94C

Accessibility & contrast

On white

6.84
#406427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#406427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406427
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406427#FFFFFF#000000##FFFFFF
##4064271.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C21
Deuteranopia (green-blind)
#63592B
Tritanopia (blue-blind)
#406057
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #406427;
/* rgb */ color: rgb(64, 100, 39);
/* oklch */ color: oklch(46.1% 0.099 134.3);
Tailwind
colors: {
  custom: {
    50: '#779063',
    500: '#406427',
    950: '#000000',
  },
}
SCSS
$custom: #406427;
$custom-light: #779063;
$custom-dark: #000000;
JSON
{
  "hex": "#406427",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 39
  },
  "hsl": {
    "h": 95.41,
    "s": 43.885,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46107,
    "c": 0.09856,
    "h": 134.3
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#406427
secondary
#7A5097
accent
#54D49F
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C05
muted
#7B7D7A

Preview Lab

Preview with #406427

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

Preview Lab → · Contrast checker → · Palette generator →

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