#807D20#807D20

#807D20 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.111 H 107.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#807D20
RGBrgb(128, 125, 32)
HSLhsl(58, 60%, 31%)
HSVhsv(58, 75%, 50%)
CMYKcmyk(0%, 2.3%, 75%, 49.8%)
CIE-LABlab(51.11, -10.35, 47.94)
CIE-LCHlch(51.11, 49.05, 102.18°)
OKLaboklab(57.5% -0.0335 0.1058)
OKLCHoklch(57.5% 0.111 107.6)
XYZxyz(16.4971, 19.3613, 4.2343)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D20 #202380
analogous
#804D20 #807D20 #538020
triadic
#807D20 #20807D #7D2080
tetradic
#807D20 #20804D #202380 #802053
square
#807D20 #20804D #202380 #802053
split-complementary
#807D20 #205380 #4D2080
monochromatic
#1E1D08 #4F4D14 #807D20 #B1AD2C #D1CD49

Accessibility & contrast

On white

4.31
#807D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#807D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807D20
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807D20#FFFFFF#000000##000000
##807D201.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780E
Deuteranopia (green-blind)
#8A7B27
Tritanopia (blue-blind)
#8A746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d20;
/* rgb */ color: rgb(128, 125, 32);
/* oklch */ color: oklch(57.5% 0.111 107.6);
Tailwind
colors: {
  custom: {
    50: '#a8a263',
    500: '#807d20',
    950: '#000000',
  },
}
SCSS
$custom: #807d20;
$custom-light: #a8a263;
$custom-dark: #000000;
JSON
{
  "hex": "#807d20",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 58.125,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57496,
    "c": 0.11099,
    "h": 107.6
  },
  "luminance": 0.19361
}

Semantic roles & 50–950 ramp

primary
#807D20
secondary
#494CB3
accent
#4AE345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #807D20

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

Preview Lab → · Contrast checker → · Palette generator →

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