#807E1F#807E1F

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

Color values

HEX#807E1F
RGBrgb(128, 126, 31)
HSLhsl(59, 61%, 31%)
HSVhsv(59, 76%, 50%)
CMYKcmyk(0%, 1.6%, 75.8%, 49.8%)
CIE-LABlab(51.39, -10.94, 48.59)
CIE-LCHlch(51.39, 49.80, 102.69°)
OKLaboklab(57.72% -0.0352 0.107)
OKLCHoklch(57.72% 0.113 108.2)
XYZxyz(16.6109, 19.6104, 4.2062)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E1F #1F2180
analogous
#804D1F #807E1F #51801F
triadic
#807E1F #1F807E #7E1F80
tetradic
#807E1F #1F804D #1F2180 #801F51
square
#807E1F #1F804D #1F2180 #801F51
split-complementary
#807E1F #1F5180 #4D1F80
monochromatic
#1D1D07 #4F4D13 #807E1F #B1AE2B #D2D047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807E1F#FFFFFF#000000##000000
##807E1F1.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)
#89790C
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#8A756C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807e1f;
/* rgb */ color: rgb(128, 126, 31);
/* oklch */ color: oklch(57.7% 0.113 108.2);
Tailwind
colors: {
  custom: {
    50: '#a8a362',
    500: '#807e1f',
    950: '#000000',
  },
}
SCSS
$custom: #807e1f;
$custom-light: #a8a362;
$custom-dark: #000000;
JSON
{
  "hex": "#807e1f",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 58.763,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57723,
    "c": 0.11265,
    "h": 108.2
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#807E1F
secondary
#484AB3
accent
#47E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #807E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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