#807F11#807F11

#807F11 is a mid, vivid yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.121 H 109.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#807F11
RGBrgb(128, 127, 17)
HSLhsl(59, 77%, 28%)
HSVhsv(59, 87%, 50%)
CMYKcmyk(0%, 0.8%, 86.7%, 49.8%)
CIE-LABlab(51.62, -12.02, 53.12)
CIE-LCHlch(51.62, 54.46, 102.75°)
OKLaboklab(57.88% -0.0394 0.114)
OKLCHoklch(57.88% 0.121 109.1)
XYZxyz(16.5933, 19.8090, 3.4796)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F11 #111280
analogous
#804711 #807F11 #498011
triadic
#807F11 #11807F #7F1180
tetradic
#807F11 #118047 #111280 #801149
square
#807F11 #118047 #111280 #801149
split-complementary
#807F11 #114980 #471180
monochromatic
#1B1B04 #4A490A #807F11 #B6B518 #E3E129

Accessibility & contrast

On white

4.23
#807F11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#807F11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807F11
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807F11#FFFFFF#000000##000000
##807F111.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8C7D1D
Tritanopia (blue-blind)
#8A766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f11;
/* rgb */ color: rgb(128, 127, 17);
/* oklch */ color: oklch(57.9% 0.121 109.1);
Tailwind
colors: {
  custom: {
    50: '#a9a35d',
    500: '#807f11',
    950: '#000000',
  },
}
SCSS
$custom: #807f11;
$custom-light: #a9a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#807f11",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 59.459,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57882,
    "c": 0.12062,
    "h": 109.1
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

primary
#807F11
secondary
#3738B6
accent
#36F335
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #807F11

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

Preview Lab → · Contrast checker → · Palette generator →

#807F11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva