#806D22#806D22

#806D22 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.8% C 0.095 H 94.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#806D22
RGBrgb(128, 109, 34)
HSLhsl(48, 58%, 32%)
HSVhsv(48, 73%, 50%)
CMYKcmyk(0%, 14.8%, 73.4%, 49.8%)
CIE-LABlab(46.50, -1.26, 42.63)
CIE-LCHlch(46.50, 42.65, 91.69°)
OKLaboklab(53.84% -0.0075 0.095)
OKLCHoklch(53.84% 0.095 94.5)
XYZxyz(14.6602, 15.6428, 3.7602)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806D22 #223580
analogous
#803E22 #806D22 #648022
triadic
#806D22 #22806D #6D2280
tetradic
#806D22 #22803E #223580 #802264
square
#806D22 #22803E #223580 #802264
split-complementary
#806D22 #226480 #3E2280
monochromatic
#1F1B08 #504415 #806D22 #B0962F #D0B54D

Accessibility & contrast

On white

5.09
#806D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#806D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #806D22
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806D22#FFFFFF#000000##FFFFFF
##806D221.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B17
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#8B645E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #806d22;
/* rgb */ color: rgb(128, 109, 34);
/* oklch */ color: oklch(53.8% 0.095 94.5);
Tailwind
colors: {
  custom: {
    50: '#a89662',
    500: '#806d22',
    950: '#000000',
  },
}
SCSS
$custom: #806d22;
$custom-light: #a89662;
$custom-dark: #000000;
JSON
{
  "hex": "#806d22",
  "rgb": {
    "r": 128,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 47.872,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53843,
    "c": 0.09528,
    "h": 94.5
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

primary
#806D22
secondary
#4B60B2
accent
#66E147
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #806D22

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

Preview Lab → · Contrast checker → · Palette generator →

#806D22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva