#807F20#807F20

#807F20 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.0% C 0.113 H 108.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#807F20
RGBrgb(128, 127, 32)
HSLhsl(59, 60%, 31%)
HSVhsv(59, 75%, 50%)
CMYKcmyk(0%, 0.8%, 75%, 49.8%)
CIE-LABlab(51.69, -11.44, 48.50)
CIE-LCHlch(51.69, 49.83, 103.27°)
OKLaboklab(57.96% -0.0365 0.107)
OKLCHoklch(57.96% 0.113 108.9)
XYZxyz(16.7528, 19.8727, 4.3196)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F20 #202180
analogous
#804F20 #807F20 #518020
triadic
#807F20 #20807F #7F2080
tetradic
#807F20 #20804F #202180 #802051
square
#807F20 #20804F #202180 #802051
split-complementary
#807F20 #205180 #4F2080
monochromatic
#1E1E08 #4F4E14 #807F20 #B1B02C #D1D049

Accessibility & contrast

On white

4.22
#807F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#807F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807F20
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807F20#FFFFFF#000000##000000
##807F201.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0D
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#89766D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f20;
/* rgb */ color: rgb(128, 127, 32);
/* oklch */ color: oklch(58.0% 0.113 108.9);
Tailwind
colors: {
  custom: {
    50: '#a8a363',
    500: '#807f20',
    950: '#000000',
  },
}
SCSS
$custom: #807f20;
$custom-light: #a8a363;
$custom-dark: #000000;
JSON
{
  "hex": "#807f20",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 59.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.11306,
    "h": 108.9
  },
  "luminance": 0.19872
}

Semantic roles & 50–950 ramp

primary
#807F20
secondary
#494AB3
accent
#46E345
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807F20

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

Preview Lab → · Contrast checker → · Palette generator →

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