#808626#808626

#808626 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.7% C 0.117 H 113.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#808626
RGBrgb(128, 134, 38)
HSLhsl(64, 56%, 34%)
HSVhsv(64, 72%, 53%)
CMYKcmyk(4.5%, 0%, 71.6%, 47.5%)
CIE-LABlab(53.79, -14.89, 48.23)
CIE-LCHlch(53.79, 50.48, 107.15°)
OKLaboklab(59.66% -0.0456 0.1076)
OKLCHoklch(59.66% 0.117 113)
XYZxyz(17.7776, 21.7797, 5.1008)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808626 #2C2686
analogous
#865C26 #808626 #508626
triadic
#808626 #268086 #862680
tetradic
#808626 #26865C #2C2686 #862650
square
#808626 #26865C #2C2686 #862650
split-complementary
#808626 #265086 #5C2686
monochromatic
#25270B #525618 #808626 #AEB634 #C8CF57

Accessibility & contrast

On white

3.92
#808626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#808626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808626
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808626#FFFFFF#000000##000000
##8086261.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908016
Deuteranopia (green-blind)
#90822D
Tritanopia (blue-blind)
#897E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #808626;
/* rgb */ color: rgb(128, 134, 38);
/* oklch */ color: oklch(59.7% 0.117 113.0);
Tailwind
colors: {
  custom: {
    50: '#a8a967',
    500: '#808626',
    950: '#000000',
  },
}
SCSS
$custom: #808626;
$custom-light: #a8a967;
$custom-dark: #000000;
JSON
{
  "hex": "#808626",
  "rgb": {
    "r": 128,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 63.75,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59655,
    "c": 0.1168,
    "h": 113
  },
  "luminance": 0.21779
}

Semantic roles & 50–950 ramp

primary
#808626
secondary
#5A54B4
accent
#49DF52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808626

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

Preview Lab → · Contrast checker → · Palette generator →

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