#807D12#807D12

#807D12 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.118 H 107.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#807D12
RGBrgb(128, 125, 18)
HSLhsl(58, 75%, 29%)
HSVhsv(58, 86%, 50%)
CMYKcmyk(0%, 2.3%, 85.9%, 49.8%)
CIE-LABlab(51.04, -10.90, 52.38)
CIE-LCHlch(51.04, 53.50, 101.76°)
OKLaboklab(57.42% -0.0362 0.1126)
OKLCHoklch(57.42% 0.118 107.8)
XYZxyz(16.3456, 19.3007, 3.4365)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D12 #121580
analogous
#804612 #807D12 #4C8012
triadic
#807D12 #12807D #7D1280
tetradic
#807D12 #128046 #121580 #80124C
square
#807D12 #128046 #121580 #80124C
split-complementary
#807D12 #124C80 #461280
monochromatic
#1B1A04 #4A490A #807D12 #B6B11A #E1DC2B

Accessibility & contrast

On white

4.32
#807D12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#807D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807D12
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807D12#FFFFFF#000000##000000
##807D121.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8A7B1D
Tritanopia (blue-blind)
#8A746A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d12;
/* rgb */ color: rgb(128, 125, 18);
/* oklch */ color: oklch(57.4% 0.118 107.8);
Tailwind
colors: {
  custom: {
    50: '#a9a25d',
    500: '#807d12',
    950: '#000000',
  },
}
SCSS
$custom: #807d12;
$custom-light: #a9a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#807d12",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 58.364,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57418,
    "c": 0.11825,
    "h": 107.8
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#807D12
secondary
#383CB6
accent
#3BF236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807D12

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

Preview Lab → · Contrast checker → · Palette generator →

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