#807A1B#807A1B

#807A1B is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.111 H 105.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#807A1B
RGBrgb(128, 122, 27)
HSLhsl(56, 65%, 30%)
HSVhsv(56, 79%, 50%)
CMYKcmyk(0%, 4.7%, 78.9%, 49.8%)
CIE-LABlab(50.20, -8.93, 48.90)
CIE-LCHlch(50.20, 49.71, 100.35°)
OKLaboklab(56.77% -0.03 0.1069)
OKLCHoklch(56.77% 0.111 105.7)
XYZxyz(16.0601, 18.5880, 3.7786)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807A1B #1B2180
analogous
#80481B #807A1B #53801B
triadic
#807A1B #1B807A #7A1B80
tetradic
#807A1B #1B8048 #1B2180 #801B53
square
#807A1B #1B8048 #1B2180 #801B53
split-complementary
#807A1B #1B5380 #481B80
monochromatic
#1B1A06 #4D4A10 #807A1B #B3AA26 #D6CD3F

Accessibility & contrast

On white

4.45
#807A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#807A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807A1B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807A1B#FFFFFF#000000##000000
##807A1B1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857504
Deuteranopia (green-blind)
#887923
Tritanopia (blue-blind)
#8A7168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #807a1b;
/* rgb */ color: rgb(128, 122, 27);
/* oklch */ color: oklch(56.8% 0.111 105.7);
Tailwind
colors: {
  custom: {
    50: '#a8a060',
    500: '#807a1b',
    950: '#000000',
  },
}
SCSS
$custom: #807a1b;
$custom-light: #a8a060;
$custom-dark: #000000;
JSON
{
  "hex": "#807a1b",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 56.436,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.111,
    "h": 105.7
  },
  "luminance": 0.18587
}

Semantic roles & 50–950 ramp

primary
#807A1B
secondary
#434AB4
accent
#4AE840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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