#807E20#807E20

#807E20 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.112 H 108.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#807E20
RGBrgb(128, 126, 32)
HSLhsl(59, 60%, 31%)
HSVhsv(59, 75%, 50%)
CMYKcmyk(0%, 1.6%, 75%, 49.8%)
CIE-LABlab(51.40, -10.89, 48.22)
CIE-LCHlch(51.40, 49.44, 102.73°)
OKLaboklab(57.73% -0.035 0.1064)
OKLCHoklch(57.73% 0.112 108.2)
XYZxyz(16.6243, 19.6157, 4.2767)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E20 #202280
analogous
#804E20 #807E20 #528020
triadic
#807E20 #20807E #7E2080
tetradic
#807E20 #20804E #202280 #802052
square
#807E20 #20804E #202280 #802052
split-complementary
#807E20 #205280 #4E2080
monochromatic
#1E1E08 #4F4E14 #807E20 #B1AE2C #D1CF49

Accessibility & contrast

On white

4.27
#807E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#807E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807E20
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807E20#FFFFFF#000000##000000
##807E201.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790E
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#8A756C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807e20;
/* rgb */ color: rgb(128, 126, 32);
/* oklch */ color: oklch(57.7% 0.112 108.2);
Tailwind
colors: {
  custom: {
    50: '#a8a363',
    500: '#807e20',
    950: '#000000',
  },
}
SCSS
$custom: #807e20;
$custom-light: #a8a363;
$custom-dark: #000000;
JSON
{
  "hex": "#807e20",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 58.75,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57729,
    "c": 0.11202,
    "h": 108.2
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

primary
#807E20
secondary
#494BB3
accent
#48E345
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807E20

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

Preview Lab → · Contrast checker → · Palette generator →

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