#808C20#808C20

#808C20 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.0% C 0.127 H 115.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#808C20
RGBrgb(128, 140, 32)
HSLhsl(67, 63%, 34%)
HSVhsv(67, 77%, 55%)
CMYKcmyk(8.6%, 0%, 77.1%, 45.1%)
CIE-LABlab(55.53, -18.35, 52.12)
CIE-LCHlch(55.53, 55.25, 109.40°)
OKLaboklab(61.04% -0.0557 0.1147)
OKLCHoklch(61.04% 0.127 115.9)
XYZxyz(18.5414, 23.4499, 4.9158)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808C20 #2C208C
analogous
#8C6220 #808C20 #4A8C20
triadic
#808C20 #20808C #8C2080
tetradic
#808C20 #208C62 #2C208C #8C204A
square
#808C20 #208C62 #2C208C #8C204A
split-complementary
#808C20 #204A8C #62208C
monochromatic
#252809 #525A15 #808C20 #AEBE2B #C8D750

Accessibility & contrast

On white

3.69
#808C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#808C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808C20
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808C20#FFFFFF#000000##000000
##808C201.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968406
Deuteranopia (green-blind)
#95862A
Tritanopia (blue-blind)
#898478
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #808c20;
/* rgb */ color: rgb(128, 140, 32);
/* oklch */ color: oklch(61.0% 0.127 115.9);
Tailwind
colors: {
  custom: {
    50: '#a8ad65',
    500: '#808c20',
    950: '#000000',
  },
}
SCSS
$custom: #808c20;
$custom-light: #a8ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#808c20",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 66.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61038,
    "c": 0.12749,
    "h": 115.9
  },
  "luminance": 0.2345
}

Semantic roles & 50–950 ramp

primary
#808C20
secondary
#5A4EBA
accent
#42E654
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808C20

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

Preview Lab → · Contrast checker → · Palette generator →

#808C20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva