#808718#808718

#808718 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.8% C 0.126 H 113.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#808718
RGBrgb(128, 135, 24)
HSLhsl(64, 70%, 31%)
HSVhsv(64, 82%, 53%)
CMYKcmyk(5.2%, 0%, 82.2%, 47.1%)
CIE-LABlab(54.01, -16.07, 53.27)
CIE-LCHlch(54.01, 55.64, 106.78°)
OKLaboklab(59.8% -0.0501 0.1156)
OKLCHoklch(59.8% 0.126 113.4)
XYZxyz(17.7315, 21.9835, 4.1732)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808718 #1F1887
analogous
#875618 #808718 #488718
triadic
#808718 #188087 #871880
tetradic
#808718 #188756 #1F1887 #871848
square
#808718 #188756 #1F1887 #871848
split-complementary
#808718 #184887 #561887
monochromatic
#1D1F06 #4F530F #808718 #B1BB21 #D2DC3D

Accessibility & contrast

On white

3.89
#808718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#808718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808718
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808718#FFFFFF#000000##000000
##8087181.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#928223
Tritanopia (blue-blind)
#897E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #808718;
/* rgb */ color: rgb(128, 135, 24);
/* oklch */ color: oklch(59.8% 0.126 113.4);
Tailwind
colors: {
  custom: {
    50: '#a8a961',
    500: '#808718',
    950: '#000000',
  },
}
SCSS
$custom: #808718;
$custom-light: #a8a961;
$custom-dark: #000000;
JSON
{
  "hex": "#808718",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 63.784,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59803,
    "c": 0.12602,
    "h": 113.4
  },
  "luminance": 0.21983
}

Semantic roles & 50–950 ramp

primary
#808718
secondary
#4840BB
accent
#3BED46
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #808718

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

Preview Lab → · Contrast checker → · Palette generator →

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