#808722#808722

#808722 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.9% C 0.121 H 113.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#808722
RGBrgb(128, 135, 34)
HSLhsl(64, 60%, 33%)
HSVhsv(64, 75%, 53%)
CMYKcmyk(5.2%, 0%, 74.8%, 47.1%)
CIE-LABlab(54.06, -15.63, 50.02)
CIE-LCHlch(54.06, 52.41, 107.35°)
OKLaboklab(59.86% -0.048 0.1106)
OKLCHoklch(59.86% 0.121 113.5)
XYZxyz(17.8553, 22.0330, 4.8253)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808722 #292287
analogous
#875B22 #808722 #4E8722
triadic
#808722 #228087 #872280
tetradic
#808722 #22875B #292287 #87224E
square
#808722 #22875B #292287 #87224E
split-complementary
#808722 #224E87 #5B2287
monochromatic
#232509 #525616 #808722 #AEB82E #CAD350

Accessibility & contrast

On white

3.88
#808722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#808722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808722
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808722#FFFFFF#000000##000000
##8087221.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#897F74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #808722;
/* rgb */ color: rgb(128, 135, 34);
/* oklch */ color: oklch(59.9% 0.121 113.5);
Tailwind
colors: {
  custom: {
    50: '#a8a965',
    500: '#808722',
    950: '#000000',
  },
}
SCSS
$custom: #808722;
$custom-light: #a8a965;
$custom-dark: #000000;
JSON
{
  "hex": "#808722",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 64.158,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59862,
    "c": 0.12057,
    "h": 113.5
  },
  "luminance": 0.22033
}

Semantic roles & 50–950 ramp

primary
#808722
secondary
#554EB7
accent
#45E350
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808722

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

Preview Lab → · Contrast checker → · Palette generator →

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