#808336#808336

#808336 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.1% C 0.100 H 111.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#808336
RGBrgb(128, 131, 54)
HSLhsl(62, 42%, 36%)
HSVhsv(62, 59%, 51%)
CMYKcmyk(2.3%, 0%, 58.8%, 48.6%)
CIE-LABlab(53.05, -12.17, 40.37)
CIE-LCHlch(53.05, 42.16, 106.77°)
OKLaboklab(59.1% -0.0361 0.0934)
OKLCHoklch(59.1% 0.1 111.2)
XYZxyz(17.6847, 21.0885, 6.6282)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808336 #393683
analogous
#836036 #808336 #5A8336
triadic
#808336 #368083 #833680
tetradic
#808336 #368360 #393683 #83365A
square
#808336 #368360 #393683 #83365A
split-complementary
#808336 #365A83 #603683
monochromatic
#2B2C12 #565824 #808336 #AAAE48 #C1C470

Accessibility & contrast

On white

4.02
#808336 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#808336 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808336
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808336#FFFFFF#000000##000000
##8083361.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #808336;
/* rgb */ color: rgb(128, 131, 54);
/* oklch */ color: oklch(59.1% 0.100 111.2);
Tailwind
colors: {
  custom: {
    50: '#a7a670',
    500: '#808336',
    950: '#000000',
  },
}
SCSS
$custom: #808336;
$custom-light: #a7a670;
$custom-dark: #000000;
JSON
{
  "hex": "#808336",
  "rgb": {
    "r": 128,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 62.338,
    "s": 41.622,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59102,
    "c": 0.10015,
    "h": 111.2
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#808336
secondary
#6B68AC
accent
#56D15B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #808336

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

Preview Lab → · Contrast checker → · Palette generator →

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