#808F20#808F20

#808F20 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.8% C 0.131 H 117.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#808F20
RGBrgb(128, 143, 32)
HSLhsl(68, 63%, 34%)
HSVhsv(68, 78%, 56%)
CMYKcmyk(10.5%, 0%, 77.6%, 43.9%)
CIE-LABlab(56.43, -19.90, 52.95)
CIE-LCHlch(56.43, 56.56, 110.60°)
OKLaboklab(61.76% -0.06 0.1164)
OKLCHoklch(61.76% 0.131 117.3)
XYZxyz(18.9857, 24.3386, 5.0639)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F20 #2F208F
analogous
#8F6720 #808F20 #498F20
triadic
#808F20 #20808F #8F2080
tetradic
#808F20 #208F67 #2F208F #8F2049
square
#808F20 #208F67 #2F208F #8F2049
split-complementary
#808F20 #20498F #67208F
monochromatic
#262B0A #535D15 #808F20 #ADC12B #C6D851

Accessibility & contrast

On white

3.58
#808F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#808F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F20
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F20#FFFFFF#000000##000000
##808F201.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998704
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#88877A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f20;
/* rgb */ color: rgb(128, 143, 32);
/* oklch */ color: oklch(61.8% 0.131 117.3);
Tailwind
colors: {
  custom: {
    50: '#a8af65',
    500: '#808f20',
    950: '#000000',
  },
}
SCSS
$custom: #808f20;
$custom-light: #a8af65;
$custom-dark: #000000;
JSON
{
  "hex": "#808f20",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 68.108,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61755,
    "c": 0.13098,
    "h": 117.3
  },
  "luminance": 0.24338
}

Semantic roles & 50–950 ramp

primary
#808F20
secondary
#5E4FBB
accent
#41E658
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808F20

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

Preview Lab → · Contrast checker → · Palette generator →

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