#807C20#807C20

#807C20 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.3% C 0.110 H 106.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#807C20
RGBrgb(128, 124, 32)
HSLhsl(58, 60%, 31%)
HSVhsv(58, 75%, 50%)
CMYKcmyk(0%, 3.1%, 75%, 49.8%)
CIE-LABlab(50.81, -9.80, 47.66)
CIE-LCHlch(50.81, 48.66, 101.62°)
OKLaboklab(57.26% -0.0319 0.1052)
OKLCHoklch(57.26% 0.11 106.9)
XYZxyz(16.3711, 19.1094, 4.1923)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C20 #202480
analogous
#804C20 #807C20 #548020
triadic
#807C20 #20807C #7C2080
tetradic
#807C20 #20804C #202480 #802054
square
#807C20 #20804C #202480 #802054
split-complementary
#807C20 #205480 #4C2080
monochromatic
#1E1D08 #4F4D14 #807C20 #B1AB2C #D1CC49

Accessibility & contrast

On white

4.36
#807C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#807C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807C20
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807C20#FFFFFF#000000##000000
##807C201.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#8A736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #807c20;
/* rgb */ color: rgb(128, 124, 32);
/* oklch */ color: oklch(57.3% 0.110 106.9);
Tailwind
colors: {
  custom: {
    50: '#a8a163',
    500: '#807c20',
    950: '#000000',
  },
}
SCSS
$custom: #807c20;
$custom-light: #a8a163;
$custom-dark: #000000;
JSON
{
  "hex": "#807c20",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 57.5,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57263,
    "c": 0.10997,
    "h": 106.9
  },
  "luminance": 0.19109
}

Semantic roles & 50–950 ramp

primary
#807C20
secondary
#494DB3
accent
#4BE345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807C20

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

Preview Lab → · Contrast checker → · Palette generator →

#807C20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva