#808627#808627

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

Color values

HEX#808627
RGBrgb(128, 134, 39)
HSLhsl(64, 55%, 34%)
HSVhsv(64, 71%, 53%)
CMYKcmyk(4.5%, 0%, 70.9%, 47.5%)
CIE-LABlab(53.80, -14.83, 47.84)
CIE-LCHlch(53.80, 50.09, 107.22°)
OKLaboklab(59.66% -0.0453 0.1069)
OKLCHoklch(59.66% 0.116 113)
XYZxyz(17.7939, 21.7863, 5.1869)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808627 #2D2786
analogous
#865D27 #808627 #518627
triadic
#808627 #278086 #862780
tetradic
#808627 #27865D #2D2786 #862751
square
#808627 #27865D #2D2786 #862751
split-complementary
#808627 #275186 #5D2786
monochromatic
#25270B #535719 #808627 #ADB535 #C7CF59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808627#FFFFFF#000000##000000
##8086271.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)
#908018
Deuteranopia (green-blind)
#90822E
Tritanopia (blue-blind)
#897E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #808627;
/* rgb */ color: rgb(128, 134, 39);
/* oklch */ color: oklch(59.7% 0.116 113.0);
Tailwind
colors: {
  custom: {
    50: '#a8a968',
    500: '#808627',
    950: '#000000',
  },
}
SCSS
$custom: #808627;
$custom-light: #a8a968;
$custom-dark: #000000;
JSON
{
  "hex": "#808627",
  "rgb": {
    "r": 128,
    "g": 134,
    "b": 39
  },
  "hsl": {
    "h": 63.789,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.1161,
    "h": 113
  },
  "luminance": 0.21786
}

Semantic roles & 50–950 ramp

primary
#808627
secondary
#5B55B4
accent
#4ADE53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808627

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

Preview Lab → · Contrast checker → · Palette generator →

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