#807C1F#807C1F

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

Color values

HEX#807C1F
RGBrgb(128, 124, 31)
HSLhsl(58, 61%, 31%)
HSVhsv(58, 76%, 50%)
CMYKcmyk(0%, 3.1%, 75.8%, 49.8%)
CIE-LABlab(50.81, -9.85, 48.03)
CIE-LCHlch(50.81, 49.03, 101.59°)
OKLaboklab(57.26% -0.0322 0.1058)
OKLCHoklch(57.26% 0.111 106.9)
XYZxyz(16.3577, 19.1040, 4.1218)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C1F #1F2380
analogous
#804B1F #807C1F #53801F
triadic
#807C1F #1F807C #7C1F80
tetradic
#807C1F #1F804B #1F2380 #801F53
square
#807C1F #1F804B #1F2380 #801F53
split-complementary
#807C1F #1F5380 #4B1F80
monochromatic
#1D1D07 #4F4C13 #807C1F #B1AC2B #D2CD47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807C1F#FFFFFF#000000##000000
##807C1F1.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)
#87770D
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#8A736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #807c1f;
/* rgb */ color: rgb(128, 124, 31);
/* oklch */ color: oklch(57.3% 0.111 106.9);
Tailwind
colors: {
  custom: {
    50: '#a8a162',
    500: '#807c1f',
    950: '#000000',
  },
}
SCSS
$custom: #807c1f;
$custom-light: #a8a162;
$custom-dark: #000000;
JSON
{
  "hex": "#807c1f",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 57.526,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57256,
    "c": 0.1106,
    "h": 106.9
  },
  "luminance": 0.19103
}

Semantic roles & 50–950 ramp

primary
#807C1F
secondary
#484CB3
accent
#4AE444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #807C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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