#808026#808026

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

Color values

HEX#808026
RGBrgb(128, 128, 38)
HSLhsl(60, 54%, 33%)
HSVhsv(60, 70%, 50%)
CMYKcmyk(0%, 0%, 70.3%, 49.8%)
CIE-LABlab(52.03, -11.66, 46.48)
CIE-LCHlch(52.03, 47.92, 104.09°)
OKLaboklab(58.24% -0.0365 0.1039)
OKLCHoklch(58.24% 0.11 109.4)
XYZxyz(16.9717, 20.1680, 4.8321)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808026 #262680
analogous
#805326 #808026 #538026
triadic
#808026 #268080 #802680
tetradic
#808026 #268053 #262680 #802653
square
#808026 #268053 #262680 #802653
split-complementary
#808026 #265380 #532680
monochromatic
#22220A #515118 #808026 #AFAF34 #CCCC54

Accessibility & contrast

On white

4.17
#808026 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##808026#FFFFFF#000000##000000
##8080261.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #808026;
/* rgb */ color: rgb(128, 128, 38);
/* oklch */ color: oklch(58.2% 0.110 109.4);
Tailwind
colors: {
  custom: {
    50: '#a8a466',
    500: '#808026',
    950: '#000000',
  },
}
SCSS
$custom: #808026;
$custom-light: #a8a466;
$custom-dark: #000000;
JSON
{
  "hex": "#808026",
  "rgb": {
    "r": 128,
    "g": 128,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58243,
    "c": 0.11009,
    "h": 109.4
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#808026
secondary
#5151B1
accent
#4ADE4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808026

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

Preview Lab → · Contrast checker → · Palette generator →

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