#808328#808328

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

Color values

HEX#808328
RGBrgb(128, 131, 40)
HSLhsl(62, 53%, 34%)
HSVhsv(62, 69%, 51%)
CMYKcmyk(2.3%, 0%, 69.5%, 48.6%)
CIE-LABlab(52.92, -13.16, 46.55)
CIE-LCHlch(52.92, 48.38, 105.79°)
OKLaboklab(58.96% -0.0405 0.1044)
OKLCHoklch(58.96% 0.112 111.2)
XYZxyz(17.4019, 20.9754, 5.1390)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808328 #2B2883
analogous
#835828 #808328 #528328
triadic
#808328 #288083 #832880
tetradic
#808328 #288358 #2B2883 #832852
square
#808328 #288358 #2B2883 #832852
split-complementary
#808328 #285283 #582883
monochromatic
#24250B #52541A #808328 #AEB236 #C9CC59

Accessibility & contrast

On white

4.04
#808328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#808328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808328
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808328#FFFFFF#000000##000000
##8083281.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1A
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#897B71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #808328;
/* rgb */ color: rgb(128, 131, 40);
/* oklch */ color: oklch(59.0% 0.112 111.2);
Tailwind
colors: {
  custom: {
    50: '#a8a668',
    500: '#808328',
    950: '#000000',
  },
}
SCSS
$custom: #808328;
$custom-light: #a8a668;
$custom-dark: #000000;
JSON
{
  "hex": "#808328",
  "rgb": {
    "r": 128,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 61.978,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58963,
    "c": 0.11196,
    "h": 111.2
  },
  "luminance": 0.20975
}

Semantic roles & 50–950 ramp

primary
#808328
secondary
#5855B1
accent
#4BDD50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808328

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

Preview Lab → · Contrast checker → · Palette generator →

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