#808F16#808F16

#808F16 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.7% C 0.136 H 117.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#808F16
RGBrgb(128, 143, 22)
HSLhsl(67, 73%, 32%)
HSVhsv(67, 85%, 56%)
CMYKcmyk(10.5%, 0%, 84.6%, 43.9%)
CIE-LABlab(56.38, -20.29, 55.88)
CIE-LCHlch(56.38, 59.45, 109.96°)
OKLaboklab(61.7% -0.0619 0.1209)
OKLCHoklch(61.7% 0.136 117.1)
XYZxyz(18.8699, 24.2923, 4.4537)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F16 #25168F
analogous
#8F6216 #808F16 #448F16
triadic
#808F16 #16808F #8F1680
tetradic
#808F16 #168F62 #25168F #8F1644
square
#808F16 #168F62 #25168F #8F1644
split-complementary
#808F16 #16448F #62168F
monochromatic
#212506 #515A0E #808F16 #AFC41E #CDE13E

Accessibility & contrast

On white

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

On black

5.86
#808F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F16
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F16#FFFFFF#000000##000000
##808F161.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#89867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f16;
/* rgb */ color: rgb(128, 143, 22);
/* oklch */ color: oklch(61.7% 0.136 117.1);
Tailwind
colors: {
  custom: {
    50: '#a8af61',
    500: '#808f16',
    950: '#000000',
  },
}
SCSS
$custom: #808f16;
$custom-light: #a8af61;
$custom-dark: #000000;
JSON
{
  "hex": "#808f16",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 67.438,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.1358,
    "h": 117.1
  },
  "luminance": 0.24292
}

Semantic roles & 50–950 ramp

primary
#808F16
secondary
#503FC1
accent
#38F04F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808F16

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

Preview Lab → · Contrast checker → · Palette generator →

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