#807A1F#807A1F

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

Color values

HEX#807A1F
RGBrgb(128, 122, 31)
HSLhsl(56, 61%, 31%)
HSVhsv(56, 76%, 50%)
CMYKcmyk(0%, 4.7%, 75.8%, 49.8%)
CIE-LABlab(50.23, -8.75, 47.48)
CIE-LCHlch(50.23, 48.28, 100.44°)
OKLaboklab(56.79% -0.0291 0.1046)
OKLCHoklch(56.79% 0.109 105.5)
XYZxyz(16.1096, 18.6078, 4.0391)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807A1F #1F2580
analogous
#80491F #807A1F #55801F
triadic
#807A1F #1F807A #7A1F80
tetradic
#807A1F #1F8049 #1F2580 #801F55
square
#807A1F #1F8049 #1F2580 #801F55
split-complementary
#807A1F #1F5580 #491F80
monochromatic
#1D1C07 #4F4B13 #807A1F #B1A92B #D2CA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807A1F#FFFFFF#000000##000000
##807A1F1.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)
#85750E
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#8A7168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #807a1f;
/* rgb */ color: rgb(128, 122, 31);
/* oklch */ color: oklch(56.8% 0.109 105.5);
Tailwind
colors: {
  custom: {
    50: '#a8a062',
    500: '#807a1f',
    950: '#000000',
  },
}
SCSS
$custom: #807a1f;
$custom-light: #a8a062;
$custom-dark: #000000;
JSON
{
  "hex": "#807a1f",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 56.289,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56791,
    "c": 0.10861,
    "h": 105.5
  },
  "luminance": 0.18607
}

Semantic roles & 50–950 ramp

primary
#807A1F
secondary
#484EB3
accent
#4EE444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #807A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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