#808120#808120

#808120 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.4% C 0.115 H 110.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#808120
RGBrgb(128, 129, 32)
HSLhsl(61, 60%, 32%)
HSVhsv(61, 75%, 51%)
CMYKcmyk(0.8%, 0%, 75.2%, 49.4%)
CIE-LABlab(52.28, -12.52, 49.06)
CIE-LCHlch(52.28, 50.63, 104.32°)
OKLaboklab(58.43% -0.0396 0.1082)
OKLCHoklch(58.43% 0.115 110.1)
XYZxyz(17.0137, 20.3945, 4.4065)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808120 #212081
analogous
#815220 #808120 #508120
triadic
#808120 #208081 #812080
tetradic
#808120 #208152 #212081 #812050
square
#808120 #208152 #212081 #812050
split-complementary
#808120 #205081 #522081
monochromatic
#1F1F08 #4F5014 #808120 #B1B22C #D1D249

Accessibility & contrast

On white

4.13
#808120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#808120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808120
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808120#FFFFFF#000000##000000
##8081201.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0C
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#89796E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #808120;
/* rgb */ color: rgb(128, 129, 32);
/* oklch */ color: oklch(58.4% 0.115 110.1);
Tailwind
colors: {
  custom: {
    50: '#a8a563',
    500: '#808120',
    950: '#000000',
  },
}
SCSS
$custom: #808120;
$custom-light: #a8a563;
$custom-dark: #000000;
JSON
{
  "hex": "#808120",
  "rgb": {
    "r": 128,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 60.619,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58432,
    "c": 0.11519,
    "h": 110.1
  },
  "luminance": 0.20394
}

Semantic roles & 50–950 ramp

primary
#808120
secondary
#4A49B4
accent
#44E346
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808120

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

Preview Lab → · Contrast checker → · Palette generator →

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