#807E1B#807E1B

#807E1B is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.115 H 108.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#807E1B
RGBrgb(128, 126, 27)
HSLhsl(59, 65%, 30%)
HSVhsv(59, 79%, 50%)
CMYKcmyk(0%, 1.6%, 78.9%, 49.8%)
CIE-LABlab(51.37, -11.12, 49.97)
CIE-LCHlch(51.37, 51.20, 102.55°)
OKLaboklab(57.7% -0.0361 0.1092)
OKLCHoklch(57.7% 0.115 108.3)
XYZxyz(16.5614, 19.5906, 3.9457)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E1B #1B1D80
analogous
#804B1B #807E1B #4F801B
triadic
#807E1B #1B807E #7E1B80
tetradic
#807E1B #1B804B #1B1D80 #801B4F
square
#807E1B #1B804B #1B1D80 #801B4F
split-complementary
#807E1B #1B4F80 #4B1B80
monochromatic
#1B1A06 #4D4C10 #807E1B #B3B026 #D6D33F

Accessibility & contrast

On white

4.27
#807E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#807E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807E1B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807E1B#FFFFFF#000000##000000
##807E1B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897902
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#8A756C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807e1b;
/* rgb */ color: rgb(128, 126, 27);
/* oklch */ color: oklch(57.7% 0.115 108.3);
Tailwind
colors: {
  custom: {
    50: '#a8a361',
    500: '#807e1b',
    950: '#000000',
  },
}
SCSS
$custom: #807e1b;
$custom-light: #a8a361;
$custom-dark: #000000;
JSON
{
  "hex": "#807e1b",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 58.812,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57697,
    "c": 0.11497,
    "h": 108.3
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#807E1B
secondary
#4345B4
accent
#43E840
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #807E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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