#808027#808027

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

Color values

HEX#808027
RGBrgb(128, 128, 39)
HSLhsl(60, 53%, 33%)
HSVhsv(60, 70%, 50%)
CMYKcmyk(0%, 0%, 69.5%, 49.8%)
CIE-LABlab(52.03, -11.60, 46.07)
CIE-LCHlch(52.03, 47.51, 104.14°)
OKLaboklab(58.25% -0.0363 0.1032)
OKLCHoklch(58.25% 0.109 109.4)
XYZxyz(16.9880, 20.1745, 4.9183)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808027 #272780
analogous
#805327 #808027 #538027
triadic
#808027 #278080 #802780
tetradic
#808027 #278053 #272780 #802753
square
#808027 #278053 #272780 #802753
split-complementary
#808027 #275380 #532780
monochromatic
#22220A #515119 #808027 #AFAF35 #CBCB56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808027#FFFFFF#000000##000000
##8080271.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)
#8A7B1A
Deuteranopia (green-blind)
#8C7D2D
Tritanopia (blue-blind)
#89786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #808027;
/* rgb */ color: rgb(128, 128, 39);
/* oklch */ color: oklch(58.3% 0.109 109.4);
Tailwind
colors: {
  custom: {
    50: '#a8a467',
    500: '#808027',
    950: '#000000',
  },
}
SCSS
$custom: #808027;
$custom-light: #a8a467;
$custom-dark: #000000;
JSON
{
  "hex": "#808027",
  "rgb": {
    "r": 128,
    "g": 128,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58251,
    "c": 0.10936,
    "h": 109.4
  },
  "luminance": 0.20174
}

Semantic roles & 50–950 ramp

primary
#808027
secondary
#5353B0
accent
#4BDD4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808027

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

Preview Lab → · Contrast checker → · Palette generator →

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