#807F15#807F15

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

Color values

HEX#807F15
RGBrgb(128, 127, 21)
HSLhsl(59, 72%, 29%)
HSVhsv(59, 84%, 50%)
CMYKcmyk(0%, 0.8%, 83.6%, 49.8%)
CIE-LABlab(51.64, -11.89, 52.07)
CIE-LCHlch(51.64, 53.41, 102.87°)
OKLaboklab(57.9% -0.0388 0.1125)
OKLCHoklch(57.9% 0.119 109)
XYZxyz(16.6275, 19.8226, 3.6596)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F15 #151680
analogous
#804A15 #807F15 #4C8015
triadic
#807F15 #15807F #7F1580
tetradic
#807F15 #15804A #151680 #80154C
square
#807F15 #15804A #151680 #80154C
split-complementary
#807F15 #154C80 #4A1580
monochromatic
#1A1A04 #4B4B0C #807F15 #B5B31E #DDDC32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807F15#FFFFFF#000000##000000
##807F151.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)
#8C7D1F
Tritanopia (blue-blind)
#8A766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f15;
/* rgb */ color: rgb(128, 127, 21);
/* oklch */ color: oklch(57.9% 0.119 109.0);
Tailwind
colors: {
  custom: {
    50: '#a8a35e',
    500: '#807f15',
    950: '#000000',
  },
}
SCSS
$custom: #807f15;
$custom-light: #a8a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#807f15",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 59.439,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.579,
    "c": 0.11897,
    "h": 109
  },
  "luminance": 0.19822
}

Semantic roles & 50–950 ramp

primary
#807F15
secondary
#3C3DB5
accent
#3BEF39
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #807F15

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

Preview Lab → · Contrast checker → · Palette generator →

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