#807A20#807A20

#807A20 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.108 H 105.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#807A20
RGBrgb(128, 122, 32)
HSLhsl(56, 60%, 31%)
HSVhsv(56, 75%, 50%)
CMYKcmyk(0%, 4.7%, 75%, 49.8%)
CIE-LABlab(50.23, -8.70, 47.10)
CIE-LCHlch(50.23, 47.90, 100.46°)
OKLaboklab(56.8% -0.0288 0.1041)
OKLCHoklch(56.8% 0.108 105.5)
XYZxyz(16.1230, 18.6132, 4.1096)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807A20 #202680
analogous
#804A20 #807A20 #568020
triadic
#807A20 #20807A #7A2080
tetradic
#807A20 #20804A #202680 #802056
square
#807A20 #20804A #202680 #802056
split-complementary
#807A20 #205680 #4A2080
monochromatic
#1E1D08 #4F4B14 #807A20 #B1A92C #D1C949

Accessibility & contrast

On white

4.45
#807A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#807A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807A20
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807A20#FFFFFF#000000##000000
##807A201.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857510
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#8A7169
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #807a20;
/* rgb */ color: rgb(128, 122, 32);
/* oklch */ color: oklch(56.8% 0.108 105.5);
Tailwind
colors: {
  custom: {
    50: '#a8a062',
    500: '#807a20',
    950: '#000000',
  },
}
SCSS
$custom: #807a20;
$custom-light: #a8a062;
$custom-dark: #000000;
JSON
{
  "hex": "#807a20",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 56.25,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56798,
    "c": 0.10797,
    "h": 105.5
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#807A20
secondary
#4950B3
accent
#4FE345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #807A20

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

Preview Lab → · Contrast checker → · Palette generator →

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