#808F31#808F31

#808F31 is a mid, moderate yellow. Relative luminance 0.245; OKLCH L 61.9% C 0.119 H 117.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#808F31
RGBrgb(128, 143, 49)
HSLhsl(70, 49%, 38%)
HSVhsv(70, 66%, 56%)
CMYKcmyk(10.5%, 0%, 65.7%, 43.9%)
CIE-LABlab(56.54, -18.90, 46.47)
CIE-LCHlch(56.54, 50.16, 112.13°)
OKLaboklab(61.89% -0.0556 0.1056)
OKLCHoklch(61.89% 0.119 117.8)
XYZxyz(19.2793, 24.4561, 6.6100)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F31 #40318F
analogous
#8F6F31 #808F31 #518F31
triadic
#808F31 #31808F #8F3180
tetradic
#808F31 #318F6F #40318F #8F3151
square
#808F31 #318F6F #40318F #8F3151
split-complementary
#808F31 #31518F #6F318F
monochromatic
#2E3412 #576121 #808F31 #A9BD41 #BECD6D

Accessibility & contrast

On white

3.56
#808F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#808F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F31
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F31#FFFFFF#000000##000000
##808F311.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988725
Deuteranopia (green-blind)
#978838
Tritanopia (blue-blind)
#88877C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #808f31;
/* rgb */ color: rgb(128, 143, 49);
/* oklch */ color: oklch(61.9% 0.119 117.8);
Tailwind
colors: {
  custom: {
    50: '#a7af6e',
    500: '#808f31',
    950: '#000000',
  },
}
SCSS
$custom: #808f31;
$custom-light: #a7af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#808f31",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 69.574,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61886,
    "c": 0.11939,
    "h": 117.8
  },
  "luminance": 0.24456
}

Semantic roles & 50–950 ramp

primary
#808F31
secondary
#7467B5
accent
#4FD965
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808F31

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

Preview Lab → · Contrast checker → · Palette generator →

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