#807C1C#807C1C

#807C1C is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.112 H 107.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#807C1C
RGBrgb(128, 124, 28)
HSLhsl(58, 64%, 31%)
HSVhsv(58, 78%, 50%)
CMYKcmyk(0%, 3.1%, 78.1%, 49.8%)
CIE-LABlab(50.79, -9.99, 49.10)
CIE-LCHlch(50.79, 50.10, 101.50°)
OKLaboklab(57.24% -0.0329 0.1075)
OKLCHoklch(57.24% 0.112 107)
XYZxyz(16.3200, 19.0889, 3.9232)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C1C #1C2080
analogous
#804A1C #807C1C #52801C
triadic
#807C1C #1C807C #7C1C80
tetradic
#807C1C #1C804A #1C2080 #801C52
square
#807C1C #1C804A #1C2080 #801C52
split-complementary
#807C1C #1C5280 #4A1C80
monochromatic
#1C1B06 #4E4B11 #807C1C #B2AD27 #D5CF41

Accessibility & contrast

On white

4.36
#807C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#807C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807C1C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807C1C#FFFFFF#000000##000000
##807C1C1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#8A736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #807c1c;
/* rgb */ color: rgb(128, 124, 28);
/* oklch */ color: oklch(57.2% 0.112 107.0);
Tailwind
colors: {
  custom: {
    50: '#a8a161',
    500: '#807c1c',
    950: '#000000',
  },
}
SCSS
$custom: #807c1c;
$custom-light: #a8a161;
$custom-dark: #000000;
JSON
{
  "hex": "#807c1c",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 57.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.1124,
    "h": 107
  },
  "luminance": 0.19088
}

Semantic roles & 50–950 ramp

primary
#807C1C
secondary
#4449B3
accent
#47E741
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #807C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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