#807E1A#807E1A

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

Color values

HEX#807E1A
RGBrgb(128, 126, 26)
HSLhsl(59, 66%, 30%)
HSVhsv(59, 80%, 50%)
CMYKcmyk(0%, 1.6%, 79.7%, 49.8%)
CIE-LABlab(51.37, -11.17, 50.30)
CIE-LCHlch(51.37, 51.53, 102.51°)
OKLaboklab(57.69% -0.0363 0.1097)
OKLCHoklch(57.69% 0.116 108.3)
XYZxyz(16.5500, 19.5860, 3.8858)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E1A #1A1C80
analogous
#804B1A #807E1A #4F801A
triadic
#807E1A #1A807E #7E1A80
tetradic
#807E1A #1A804B #1A1C80 #801A4F
square
#807E1A #1A804B #1A1C80 #801A4F
split-complementary
#807E1A #1A4F80 #4B1A80
monochromatic
#1A1A05 #4D4C10 #807E1A #B3B024 #D8D53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807E1A#FFFFFF#000000##000000
##807E1A1.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)
#897900
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#8A756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807e1a;
/* rgb */ color: rgb(128, 126, 26);
/* oklch */ color: oklch(57.7% 0.116 108.3);
Tailwind
colors: {
  custom: {
    50: '#a8a360',
    500: '#807e1a',
    950: '#000000',
  },
}
SCSS
$custom: #807e1a;
$custom-light: #a8a360;
$custom-dark: #000000;
JSON
{
  "hex": "#807e1a",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 58.824,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57691,
    "c": 0.11551,
    "h": 108.3
  },
  "luminance": 0.19585
}

Semantic roles & 50–950 ramp

primary
#807E1A
secondary
#4244B4
accent
#42E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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