#808B31#808B31

#808B31 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 60.9% C 0.114 H 115.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#808B31
RGBrgb(128, 139, 49)
HSLhsl(67, 48%, 37%)
HSVhsv(67, 65%, 55%)
CMYKcmyk(7.9%, 0%, 64.7%, 45.5%)
CIE-LABlab(55.36, -16.82, 45.21)
CIE-LCHlch(55.36, 48.24, 110.40°)
OKLaboklab(60.93% -0.0498 0.103)
OKLCHoklch(60.93% 0.114 115.8)
XYZxyz(18.6895, 23.2764, 6.4134)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B31 #3C318B
analogous
#8B6931 #808B31 #538B31
triadic
#808B31 #31808B #8B3180
tetradic
#808B31 #318B69 #3C318B #8B3153
square
#808B31 #318B69 #3C318B #8B3153
split-complementary
#808B31 #31538B #69318B
monochromatic
#2D3111 #565E21 #808B31 #AAB841 #BFCB6B

Accessibility & contrast

On white

3.71
#808B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#808B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808B31
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808B31#FFFFFF#000000##000000
##808B311.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958426
Deuteranopia (green-blind)
#948537
Tritanopia (blue-blind)
#888378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #808b31;
/* rgb */ color: rgb(128, 139, 49);
/* oklch */ color: oklch(60.9% 0.114 115.8);
Tailwind
colors: {
  custom: {
    50: '#a7ac6e',
    500: '#808b31',
    950: '#000000',
  },
}
SCSS
$custom: #808b31;
$custom-light: #a7ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#808b31",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 67.333,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60935,
    "c": 0.11439,
    "h": 115.8
  },
  "luminance": 0.23276
}

Semantic roles & 50–950 ramp

primary
#808B31
secondary
#6F65B2
accent
#50D761
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808B31

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

Preview Lab → · Contrast checker → · Palette generator →

#808B31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva