#807D1C#807D1C

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

Color values

HEX#807D1C
RGBrgb(128, 125, 28)
HSLhsl(58, 64%, 31%)
HSVhsv(58, 78%, 50%)
CMYKcmyk(0%, 2.3%, 78.1%, 49.8%)
CIE-LABlab(51.08, -10.53, 49.37)
CIE-LCHlch(51.08, 50.48, 102.05°)
OKLaboklab(57.47% -0.0344 0.1081)
OKLCHoklch(57.47% 0.113 107.7)
XYZxyz(16.4460, 19.3408, 3.9652)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D1C #1C1F80
analogous
#804B1C #807D1C #51801C
triadic
#807D1C #1C807D #7D1C80
tetradic
#807D1C #1C804B #1C1F80 #801C51
square
#807D1C #1C804B #1C1F80 #801C51
split-complementary
#807D1C #1C5180 #4B1C80
monochromatic
#1C1B06 #4E4C11 #807D1C #B2AE27 #D5D141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807D1C#FFFFFF#000000##000000
##807D1C1.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)
#887805
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#8A746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d1c;
/* rgb */ color: rgb(128, 125, 28);
/* oklch */ color: oklch(57.5% 0.113 107.7);
Tailwind
colors: {
  custom: {
    50: '#a8a261',
    500: '#807d1c',
    950: '#000000',
  },
}
SCSS
$custom: #807d1c;
$custom-light: #a8a261;
$custom-dark: #000000;
JSON
{
  "hex": "#807d1c",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 58.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5747,
    "c": 0.1134,
    "h": 107.7
  },
  "luminance": 0.1934
}

Semantic roles & 50–950 ramp

primary
#807D1C
secondary
#4448B3
accent
#46E741
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #807D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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