#406810#406810

#406810 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 47.0% C 0.122 H 131.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#406810
RGBrgb(64, 104, 16)
HSLhsl(87, 73%, 24%)
HSVhsv(87, 85%, 41%)
CMYKcmyk(38.5%, 0%, 84.6%, 59.2%)
CIE-LABlab(39.63, -28.62, 41.09)
CIE-LCHlch(39.63, 50.08, 124.86°)
OKLaboklab(47% -0.0811 0.0905)
OKLCHoklch(47% 0.122 131.9)
XYZxyz(7.1581, 11.0277, 2.2415)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406810 #381068
analogous
#686410 #406810 #146810
triadic
#406810 #104068 #681040
tetradic
#406810 #106864 #381068 #681014
square
#406810 #106864 #381068 #681014
split-complementary
#406810 #101468 #641068
monochromatic
#101B04 #1F3308 #406810 #619D18 #81D220

Accessibility & contrast

On white

6.55
#406810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#406810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406810
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406810#FFFFFF#000000##FFFFFF
##4068101.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#416358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406810;
/* rgb */ color: rgb(64, 104, 16);
/* oklch */ color: oklch(47.0% 0.122 131.9);
Tailwind
colors: {
  custom: {
    50: '#799357',
    500: '#406810',
    950: '#000000',
  },
}
SCSS
$custom: #406810;
$custom-light: #799357;
$custom-dark: #000000;
JSON
{
  "hex": "#406810",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 87.273,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46995,
    "c": 0.12155,
    "h": 131.9
  },
  "luminance": 0.11028
}

Semantic roles & 50–950 ramp

primary
#406810
secondary
#6534A0
accent
#38F08C
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #406810

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

Preview Lab → · Contrast checker → · Palette generator →

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