#818656#818656

#818656 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.4% C 0.068 H 113.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#818656
RGBrgb(129, 134, 86)
HSLhsl(66, 22%, 43%)
HSVhsv(66, 36%, 53%)
CMYKcmyk(3.7%, 0%, 35.8%, 47.5%)
CIE-LABlab(54.44, -9.94, 25.26)
CIE-LCHlch(54.44, 27.15, 111.47°)
OKLaboklab(60.37% -0.0268 0.0624)
OKLCHoklch(60.37% 0.068 113.3)
XYZxyz(19.2582, 22.3894, 12.1094)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818656 #5B5686
analogous
#867356 #818656 #698656
triadic
#818656 #568186 #865681
tetradic
#818656 #568673 #5B5686 #865669
square
#818656 #568673 #5B5686 #865669
split-complementary
#818656 #566986 #735686
monochromatic
#393B26 #5D613E #818656 #A0A674 #BABD99

Accessibility & contrast

On white

3.83
#818656 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#818656 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818656
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818656#FFFFFF#000000##000000
##8186561.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8253
Deuteranopia (green-blind)
#8D8358
Tritanopia (blue-blind)
#87817A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #818656;
/* rgb */ color: rgb(129, 134, 86);
/* oklch */ color: oklch(60.4% 0.068 113.3);
Tailwind
colors: {
  custom: {
    50: '#a6a986',
    500: '#818656',
    950: '#000000',
  },
}
SCSS
$custom: #818656;
$custom-light: #a6a986;
$custom-dark: #000000;
JSON
{
  "hex": "#818656",
  "rgb": {
    "r": 129,
    "g": 134,
    "b": 86
  },
  "hsl": {
    "h": 66.25,
    "s": 21.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.60372,
    "c": 0.06791,
    "h": 113.3
  },
  "luminance": 0.22389
}

Semantic roles & 50–950 ramp

primary
#818656
secondary
#908DAB
accent
#69BE72
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F0F0B
muted
#7F7F7C

Preview Lab

Preview with #818656

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

Preview Lab → · Contrast checker → · Palette generator →

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