#807020#807020

#807020 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.099 H 97.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#807020
RGBrgb(128, 112, 32)
HSLhsl(50, 60%, 31%)
HSVhsv(50, 75%, 50%)
CMYKcmyk(0%, 12.5%, 75%, 49.8%)
CIE-LABlab(47.34, -3.08, 44.31)
CIE-LCHlch(47.34, 44.42, 93.98°)
OKLaboklab(54.5% -0.013 0.0981)
OKLCHoklch(54.5% 0.099 97.5)
XYZxyz(14.9577, 16.2826, 3.7212)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807020 #203080
analogous
#804020 #807020 #608020
triadic
#807020 #208070 #702080
tetradic
#807020 #208040 #203080 #802060
square
#807020 #208040 #203080 #802060
split-complementary
#807020 #206080 #402080
monochromatic
#1E1A08 #4F4514 #807020 #B19B2C #D1BB49

Accessibility & contrast

On white

4.93
#807020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#807020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807020
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807020#FFFFFF#000000##FFFFFF
##8070201.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D13
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#8A6760
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #807020;
/* rgb */ color: rgb(128, 112, 32);
/* oklch */ color: oklch(54.5% 0.099 97.5);
Tailwind
colors: {
  custom: {
    50: '#a89861',
    500: '#807020',
    950: '#000000',
  },
}
SCSS
$custom: #807020;
$custom-light: #a89861;
$custom-dark: #000000;
JSON
{
  "hex": "#807020",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 50,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.09898,
    "h": 97.5
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#807020
secondary
#495BB3
accent
#5FE345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #807020

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

Preview Lab → · Contrast checker → · Palette generator →

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