#808F21#808F21

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

Color values

HEX#808F21
RGBrgb(128, 143, 33)
HSLhsl(68, 63%, 35%)
HSVhsv(68, 77%, 56%)
CMYKcmyk(10.5%, 0%, 76.9%, 43.9%)
CIE-LABlab(56.43, -19.85, 52.61)
CIE-LCHlch(56.43, 56.23, 110.67°)
OKLaboklab(61.76% -0.0598 0.1159)
OKLCHoklch(61.76% 0.13 117.3)
XYZxyz(18.9995, 24.3441, 5.1365)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F21 #30218F
analogous
#8F6721 #808F21 #498F21
triadic
#808F21 #21808F #8F2180
tetradic
#808F21 #218F67 #30218F #8F2149
square
#808F21 #218F67 #30218F #8F2149
split-complementary
#808F21 #21498F #67218F
monochromatic
#272C0A #535D16 #808F21 #ADC12C #C5D753

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808F21#FFFFFF#000000##000000
##808F211.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)
#998706
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#88877A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f21;
/* rgb */ color: rgb(128, 143, 33);
/* oklch */ color: oklch(61.8% 0.130 117.3);
Tailwind
colors: {
  custom: {
    50: '#a8af66',
    500: '#808f21',
    950: '#000000',
  },
}
SCSS
$custom: #808f21;
$custom-light: #a8af66;
$custom-dark: #000000;
JSON
{
  "hex": "#808f21",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 68.182,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61762,
    "c": 0.13041,
    "h": 117.3
  },
  "luminance": 0.24344
}

Semantic roles & 50–950 ramp

primary
#808F21
secondary
#5F51BB
accent
#42E659
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808F21

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

Preview Lab → · Contrast checker → · Palette generator →

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