#807331#807331

#807331 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.4% C 0.088 H 98.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#807331
RGBrgb(128, 115, 49)
HSLhsl(50, 45%, 35%)
HSVhsv(50, 62%, 50%)
CMYKcmyk(0%, 10.2%, 61.7%, 49.8%)
CIE-LABlab(48.35, -3.69, 37.56)
CIE-LCHlch(48.35, 37.75, 95.62°)
OKLaboklab(55.35% -0.0126 0.0867)
OKLCHoklch(55.35% 0.088 98.3)
XYZxyz(15.5878, 17.0731, 5.3795)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807331 #313E80
analogous
#804C31 #807331 #658031
triadic
#807331 #318073 #733180
tetradic
#807331 #31804C #313E80 #803165
square
#807331 #31804C #313E80 #803165
split-complementary
#807331 #316580 #4C3180
monochromatic
#27230F #544B20 #807331 #AC9B42 #C5B567

Accessibility & contrast

On white

4.76
#807331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#807331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807331
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807331#FFFFFF#000000##FFFFFF
##8073311.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E702A
Deuteranopia (green-blind)
#817534
Tritanopia (blue-blind)
#8A6B65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #807331;
/* rgb */ color: rgb(128, 115, 49);
/* oklch */ color: oklch(55.4% 0.088 98.3);
Tailwind
colors: {
  custom: {
    50: '#a79b6c',
    500: '#807331',
    950: '#000000',
  },
}
SCSS
$custom: #807331;
$custom-light: #a79b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#807331",
  "rgb": {
    "r": 128,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 50.127,
    "s": 44.633,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55351,
    "c": 0.08765,
    "h": 98.3
  },
  "luminance": 0.17072
}

Semantic roles & 50–950 ramp

primary
#807331
secondary
#616DAC
accent
#69D453
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #807331

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

Preview Lab → · Contrast checker → · Palette generator →

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