#807F12#807F12

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

Color values

HEX#807F12
RGBrgb(128, 127, 18)
HSLhsl(59, 75%, 29%)
HSVhsv(59, 86%, 50%)
CMYKcmyk(0%, 0.8%, 85.9%, 49.8%)
CIE-LABlab(51.62, -11.99, 52.87)
CIE-LCHlch(51.62, 54.21, 102.78°)
OKLaboklab(57.89% -0.0393 0.1136)
OKLCHoklch(57.89% 0.12 109.1)
XYZxyz(16.6013, 19.8122, 3.5218)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F12 #121380
analogous
#804812 #807F12 #4A8012
triadic
#807F12 #12807F #7F1280
tetradic
#807F12 #128048 #121380 #80124A
square
#807F12 #128048 #121380 #80124A
split-complementary
#807F12 #124A80 #481280
monochromatic
#1B1B04 #4A4A0A #807F12 #B6B41A #E1E02B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807F12#FFFFFF#000000##000000
##807F121.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: #807f12;
/* rgb */ color: rgb(128, 127, 18);
/* oklch */ color: oklch(57.9% 0.120 109.1);
Tailwind
colors: {
  custom: {
    50: '#a8a35d',
    500: '#807f12',
    950: '#000000',
  },
}
SCSS
$custom: #807f12;
$custom-light: #a8a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#807f12",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 59.455,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.12023,
    "h": 109.1
  },
  "luminance": 0.19812
}

Semantic roles & 50–950 ramp

primary
#807F12
secondary
#3839B6
accent
#38F236
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #807F12

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

Preview Lab → · Contrast checker → · Palette generator →

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