#808117#808117

#808117 is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.4% C 0.120 H 110.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#808117
RGBrgb(128, 129, 23)
HSLhsl(61, 70%, 30%)
HSVhsv(61, 82%, 51%)
CMYKcmyk(0.8%, 0%, 82.2%, 49.4%)
CIE-LABlab(52.23, -12.91, 52.01)
CIE-LCHlch(52.23, 53.59, 103.94°)
OKLaboklab(58.38% -0.0414 0.1127)
OKLCHoklch(58.38% 0.12 110.2)
XYZxyz(16.9076, 20.3521, 3.8482)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808117 #181781
analogous
#814D17 #808117 #4B8117
triadic
#808117 #178081 #811780
tetradic
#808117 #17814D #181781 #81174B
square
#808117 #17814D #181781 #81174B
split-complementary
#808117 #174B81 #4D1781
monochromatic
#1A1A05 #4C4D0E #808117 #B4B520 #DADB37

Accessibility & contrast

On white

4.14
#808117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#808117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808117
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808117#FFFFFF#000000##000000
##8081171.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#8A786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #808117;
/* rgb */ color: rgb(128, 129, 23);
/* oklch */ color: oklch(58.4% 0.120 110.2);
Tailwind
colors: {
  custom: {
    50: '#a8a55f',
    500: '#808117',
    950: '#000000',
  },
}
SCSS
$custom: #808117;
$custom-light: #a8a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#808117",
  "rgb": {
    "r": 128,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 60.566,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5838,
    "c": 0.1201,
    "h": 110.2
  },
  "luminance": 0.20352
}

Semantic roles & 50–950 ramp

primary
#808117
secondary
#403EB5
accent
#3BED3D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #808117

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

Preview Lab → · Contrast checker → · Palette generator →

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