#808023#808023

#808023 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.112 H 109.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#808023
RGBrgb(128, 128, 35)
HSLhsl(60, 57%, 32%)
HSVhsv(60, 73%, 50%)
CMYKcmyk(0%, 0%, 72.7%, 49.8%)
CIE-LABlab(52.01, -11.83, 47.66)
CIE-LCHlch(52.01, 49.10, 103.94°)
OKLaboklab(58.22% -0.0373 0.1058)
OKLCHoklch(58.22% 0.112 109.4)
XYZxyz(16.9252, 20.1494, 4.5874)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808023 #232380
analogous
#805223 #808023 #528023
triadic
#808023 #238080 #802380
tetradic
#808023 #238052 #232380 #802352
square
#808023 #238052 #232380 #802352
split-complementary
#808023 #235280 #522380
monochromatic
#202009 #505016 #808023 #B0B030 #CFCF4F

Accessibility & contrast

On white

4.18
#808023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#808023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808023
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808023#FFFFFF#000000##000000
##8080231.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A13
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#89786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #808023;
/* rgb */ color: rgb(128, 128, 35);
/* oklch */ color: oklch(58.2% 0.112 109.4);
Tailwind
colors: {
  custom: {
    50: '#a8a465',
    500: '#808023',
    950: '#000000',
  },
}
SCSS
$custom: #808023;
$custom-light: #a8a465;
$custom-dark: #000000;
JSON
{
  "hex": "#808023",
  "rgb": {
    "r": 128,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58219,
    "c": 0.11218,
    "h": 109.4
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#808023
secondary
#4D4DB2
accent
#47E047
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808023

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

Preview Lab → · Contrast checker → · Palette generator →

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