#406E27#406E27

#406E27 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 48.8% C 0.114 H 136.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#406E27
RGBrgb(64, 110, 39)
HSLhsl(99, 48%, 29%)
HSVhsv(99, 65%, 43%)
CMYKcmyk(41.8%, 0%, 64.5%, 56.9%)
CIE-LABlab(41.83, -29.61, 33.85)
CIE-LCHlch(41.83, 44.98, 131.18°)
OKLaboklab(48.85% -0.082 0.0787)
OKLCHoklch(48.85% 0.114 136.2)
XYZxyz(8.0563, 12.3879, 3.8857)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E27 #55276E
analogous
#646E27 #406E27 #276E32
triadic
#406E27 #27406E #6E2740
tetradic
#406E27 #27646E #55276E #6E3227
square
#406E27 #27646E #55276E #6E3227
split-complementary
#406E27 #32276E #6E2764
monochromatic
#0D1708 #264117 #406E27 #5A9B37 #77C14F

Accessibility & contrast

On white

6.04
#406E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#406E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406E27
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406E27#FFFFFF#000000##FFFFFF
##406E271.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651F
Deuteranopia (green-blind)
#6B612D
Tritanopia (blue-blind)
#3E6A5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406e27;
/* rgb */ color: rgb(64, 110, 39);
/* oklch */ color: oklch(48.8% 0.114 136.2);
Tailwind
colors: {
  custom: {
    50: '#789864',
    500: '#406e27',
    950: '#000000',
  },
}
SCSS
$custom: #406e27;
$custom-light: #789864;
$custom-dark: #000000;
JSON
{
  "hex": "#406e27",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 39
  },
  "hsl": {
    "h": 98.873,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48849,
    "c": 0.11368,
    "h": 136.2
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#406E27
secondary
#8450A1
accent
#51D7A8
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090D06
muted
#7B7E7A

Preview Lab

Preview with #406E27

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

Preview Lab → · Contrast checker → · Palette generator →

#406E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva