#807131#807131

#807131 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.9% C 0.086 H 96.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#807131
RGBrgb(128, 113, 49)
HSLhsl(49, 45%, 35%)
HSVhsv(49, 62%, 50%)
CMYKcmyk(0%, 11.7%, 61.7%, 49.8%)
CIE-LABlab(47.78, -2.56, 36.92)
CIE-LCHlch(47.78, 37.01, 93.96°)
OKLaboklab(54.9% -0.0093 0.0854)
OKLCHoklch(54.9% 0.086 96.2)
XYZxyz(15.3622, 16.6219, 5.3043)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807131 #314080
analogous
#804A31 #807131 #678031
triadic
#807131 #318071 #713180
tetradic
#807131 #31804A #314080 #803167
square
#807131 #31804A #314080 #803167
split-complementary
#807131 #316780 #4A3180
monochromatic
#27230F #544A20 #807131 #AC9842 #C5B367

Accessibility & contrast

On white

4.86
#807131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#807131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807131
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807131#FFFFFF#000000##FFFFFF
##8071311.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2A
Deuteranopia (green-blind)
#807334
Tritanopia (blue-blind)
#8A6963
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #807131;
/* rgb */ color: rgb(128, 113, 49);
/* oklch */ color: oklch(54.9% 0.086 96.2);
Tailwind
colors: {
  custom: {
    50: '#a7996c',
    500: '#807131',
    950: '#000000',
  },
}
SCSS
$custom: #807131;
$custom-light: #a7996c;
$custom-dark: #000000;
JSON
{
  "hex": "#807131",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 49
  },
  "hsl": {
    "h": 48.608,
    "s": 44.633,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54898,
    "c": 0.08588,
    "h": 96.2
  },
  "luminance": 0.16621
}

Semantic roles & 50–950 ramp

primary
#807131
secondary
#616FAC
accent
#6CD453
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D07
muted
#7F7E7A

Preview Lab

Preview with #807131

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

Preview Lab → · Contrast checker → · Palette generator →

#807131 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva