#807B1F#807B1F

#807B1F is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.110 H 106.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#807B1F
RGBrgb(128, 123, 31)
HSLhsl(57, 61%, 31%)
HSVhsv(57, 76%, 50%)
CMYKcmyk(0%, 3.9%, 75.8%, 49.8%)
CIE-LABlab(50.52, -9.30, 47.76)
CIE-LCHlch(50.52, 48.65, 101.02°)
OKLaboklab(57.02% -0.0306 0.1052)
OKLCHoklch(57.02% 0.11 106.2)
XYZxyz(16.2330, 18.8546, 4.0803)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807B1F #1F2480
analogous
#804A1F #807B1F #54801F
triadic
#807B1F #1F807B #7B1F80
tetradic
#807B1F #1F804A #1F2480 #801F54
square
#807B1F #1F804A #1F2480 #801F54
split-complementary
#807B1F #1F5480 #4A1F80
monochromatic
#1D1C07 #4F4C13 #807B1F #B1AA2B #D2CB47

Accessibility & contrast

On white

4.40
#807B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#807B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807B1F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807B1F#FFFFFF#000000##000000
##807B1F1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760D
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#8A7269
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #807b1f;
/* rgb */ color: rgb(128, 123, 31);
/* oklch */ color: oklch(57.0% 0.110 106.2);
Tailwind
colors: {
  custom: {
    50: '#a8a062',
    500: '#807b1f',
    950: '#000000',
  },
}
SCSS
$custom: #807b1f;
$custom-light: #a8a062;
$custom-dark: #000000;
JSON
{
  "hex": "#807b1f",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 56.907,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.1096,
    "h": 106.2
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#807B1F
secondary
#484DB3
accent
#4CE444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #807B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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