#807B1B#807B1B

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

Color values

HEX#807B1B
RGBrgb(128, 123, 27)
HSLhsl(57, 65%, 30%)
HSVhsv(57, 79%, 50%)
CMYKcmyk(0%, 3.9%, 78.9%, 49.8%)
CIE-LABlab(50.49, -9.48, 49.17)
CIE-LCHlch(50.49, 50.08, 100.91°)
OKLaboklab(57% -0.0315 0.1074)
OKLCHoklch(57% 0.112 106.4)
XYZxyz(16.1836, 18.8348, 3.8197)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807B1B #1B2080
analogous
#80491B #807B1B #52801B
triadic
#807B1B #1B807B #7B1B80
tetradic
#807B1B #1B8049 #1B2080 #801B52
square
#807B1B #1B8049 #1B2080 #801B52
split-complementary
#807B1B #1B5280 #491B80
monochromatic
#1B1A06 #4D4A10 #807B1B #B3AC26 #D6CF3F

Accessibility & contrast

On white

4.41
#807B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##807B1B#FFFFFF#000000##000000
##807B1B1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#8A7269
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #807b1b;
/* rgb */ color: rgb(128, 123, 27);
/* oklch */ color: oklch(57.0% 0.112 106.4);
Tailwind
colors: {
  custom: {
    50: '#a8a060',
    500: '#807b1b',
    950: '#000000',
  },
}
SCSS
$custom: #807b1b;
$custom-light: #a8a060;
$custom-dark: #000000;
JSON
{
  "hex": "#807b1b",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 57.03,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.11197,
    "h": 106.4
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#807B1B
secondary
#4349B4
accent
#48E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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