#808223#808223

#808223 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.7% C 0.114 H 110.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#808223
RGBrgb(128, 130, 35)
HSLhsl(61, 58%, 32%)
HSVhsv(61, 73%, 51%)
CMYKcmyk(1.5%, 0%, 73.1%, 49%)
CIE-LABlab(52.59, -12.91, 48.23)
CIE-LCHlch(52.59, 49.93, 104.99°)
OKLaboklab(58.69% -0.0403 0.107)
OKLCHoklch(58.69% 0.114 110.7)
XYZxyz(17.1887, 20.6763, 4.6753)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808223 #252382
analogous
#825423 #808223 #518223
triadic
#808223 #238082 #822380
tetradic
#808223 #238254 #252382 #822351
square
#808223 #238254 #252382 #822351
split-complementary
#808223 #235182 #542382
monochromatic
#212209 #515216 #808223 #AFB230 #CDD050

Accessibility & contrast

On white

4.09
#808223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#808223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808223
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808223#FFFFFF#000000##000000
##8082231.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C12
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#897A6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #808223;
/* rgb */ color: rgb(128, 130, 35);
/* oklch */ color: oklch(58.7% 0.114 110.7);
Tailwind
colors: {
  custom: {
    50: '#a8a665',
    500: '#808223',
    950: '#000000',
  },
}
SCSS
$custom: #808223;
$custom-light: #a8a665;
$custom-dark: #000000;
JSON
{
  "hex": "#808223",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 61.263,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58689,
    "c": 0.11435,
    "h": 110.7
  },
  "luminance": 0.20676
}

Semantic roles & 50–950 ramp

primary
#808223
secondary
#504DB3
accent
#47E14A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808223

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

Preview Lab → · Contrast checker → · Palette generator →

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