#806E20#806E20

#806E20 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 54.1% C 0.097 H 95.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#806E20
RGBrgb(128, 110, 32)
HSLhsl(49, 60%, 31%)
HSVhsv(49, 75%, 50%)
CMYKcmyk(0%, 14.1%, 75%, 49.8%)
CIE-LABlab(46.77, -1.94, 43.75)
CIE-LCHlch(46.77, 43.79, 92.54°)
OKLaboklab(54.05% -0.0097 0.0969)
OKLCHoklch(54.05% 0.097 95.7)
XYZxyz(14.7395, 15.8461, 3.6485)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806E20 #203280
analogous
#803E20 #806E20 #628020
triadic
#806E20 #20806E #6E2080
tetradic
#806E20 #20803E #203280 #802062
square
#806E20 #20803E #203280 #802062
split-complementary
#806E20 #206280 #3E2080
monochromatic
#1E1A08 #4F4414 #806E20 #B1982C #D1B849

Accessibility & contrast

On white

5.04
#806E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#806E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #806E20
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806E20#FFFFFF#000000##FFFFFF
##806E201.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C14
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#8B655F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #806e20;
/* rgb */ color: rgb(128, 110, 32);
/* oklch */ color: oklch(54.1% 0.097 95.7);
Tailwind
colors: {
  custom: {
    50: '#a89761',
    500: '#806e20',
    950: '#000000',
  },
}
SCSS
$custom: #806e20;
$custom-light: #a89761;
$custom-dark: #000000;
JSON
{
  "hex": "#806e20",
  "rgb": {
    "r": 128,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 48.75,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54052,
    "c": 0.09743,
    "h": 95.7
  },
  "luminance": 0.15845
}

Semantic roles & 50–950 ramp

primary
#806E20
secondary
#495DB3
accent
#62E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #806E20

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

Preview Lab → · Contrast checker → · Palette generator →

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