#807D1A#807D1A

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

Color values

HEX#807D1A
RGBrgb(128, 125, 26)
HSLhsl(58, 66%, 30%)
HSVhsv(58, 80%, 50%)
CMYKcmyk(0%, 2.3%, 79.7%, 49.8%)
CIE-LABlab(51.07, -10.62, 50.04)
CIE-LCHlch(51.07, 51.15, 101.98°)
OKLaboklab(57.46% -0.0348 0.1091)
OKLCHoklch(57.46% 0.115 107.7)
XYZxyz(16.4228, 19.3316, 3.8434)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D1A #1A1D80
analogous
#804A1A #807D1A #50801A
triadic
#807D1A #1A807D #7D1A80
tetradic
#807D1A #1A804A #1A1D80 #801A50
square
#807D1A #1A804A #1A1D80 #801A50
split-complementary
#807D1A #1A5080 #4A1A80
monochromatic
#1A1A05 #4D4B10 #807D1A #B3AF24 #D8D33D

Accessibility & contrast

On white

4.32
#807D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##807D1A#FFFFFF#000000##000000
##807D1A1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#8A746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d1a;
/* rgb */ color: rgb(128, 125, 26);
/* oklch */ color: oklch(57.5% 0.115 107.7);
Tailwind
colors: {
  custom: {
    50: '#a8a260',
    500: '#807d1a',
    950: '#000000',
  },
}
SCSS
$custom: #807d1a;
$custom-light: #a8a260;
$custom-dark: #000000;
JSON
{
  "hex": "#807d1a",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 58.235,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.11451,
    "h": 107.7
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#807D1A
secondary
#4245B4
accent
#44E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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