#808331#808331

#808331 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.0% C 0.105 H 111.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#808331
RGBrgb(128, 131, 49)
HSLhsl(62, 46%, 35%)
HSVhsv(62, 63%, 51%)
CMYKcmyk(2.3%, 0%, 62.6%, 48.6%)
CIE-LABlab(53.00, -12.56, 42.68)
CIE-LCHlch(53.00, 44.49, 106.40°)
OKLaboklab(59.05% -0.0378 0.0976)
OKLCHoklch(59.05% 0.105 111.2)
XYZxyz(17.5732, 21.0440, 6.0413)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808331 #343183
analogous
#835D31 #808331 #578331
triadic
#808331 #318083 #833180
tetradic
#808331 #31835D #343183 #833157
square
#808331 #31835D #343183 #833157
split-complementary
#808331 #315783 #5D3183
monochromatic
#292A10 #545620 #808331 #ACB042 #C3C668

Accessibility & contrast

On white

4.03
#808331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#808331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808331
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808331#FFFFFF#000000##000000
##8083311.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D27
Deuteranopia (green-blind)
#8D8036
Tritanopia (blue-blind)
#887B72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #808331;
/* rgb */ color: rgb(128, 131, 49);
/* oklch */ color: oklch(59.0% 0.105 111.2);
Tailwind
colors: {
  custom: {
    50: '#a7a66d',
    500: '#808331',
    950: '#000000',
  },
}
SCSS
$custom: #808331;
$custom-light: #a7a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#808331",
  "rgb": {
    "r": 128,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 62.195,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.1047,
    "h": 111.2
  },
  "luminance": 0.21044
}

Semantic roles & 50–950 ramp

primary
#808331
secondary
#6562AE
accent
#53D557
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #808331

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

Preview Lab → · Contrast checker → · Palette generator →

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