#807E12#807E12

#807E12 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.119 H 108.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#807E12
RGBrgb(128, 126, 18)
HSLhsl(59, 75%, 29%)
HSVhsv(59, 86%, 50%)
CMYKcmyk(0%, 1.6%, 85.9%, 49.8%)
CIE-LABlab(51.33, -11.45, 52.62)
CIE-LCHlch(51.33, 53.85, 102.27°)
OKLaboklab(57.65% -0.0377 0.1131)
OKLCHoklch(57.65% 0.119 108.5)
XYZxyz(16.4728, 19.5551, 3.4790)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E12 #121480
analogous
#804712 #807E12 #4B8012
triadic
#807E12 #12807E #7E1280
tetradic
#807E12 #128047 #121480 #80124B
square
#807E12 #128047 #121480 #80124B
split-complementary
#807E12 #124B80 #471280
monochromatic
#1B1A04 #4A490A #807E12 #B6B31A #E1DE2B

Accessibility & contrast

On white

4.28
#807E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#807E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807E12
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807E12#FFFFFF#000000##000000
##807E121.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8B7C1D
Tritanopia (blue-blind)
#8A756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807e12;
/* rgb */ color: rgb(128, 126, 18);
/* oklch */ color: oklch(57.7% 0.119 108.5);
Tailwind
colors: {
  custom: {
    50: '#a8a35d',
    500: '#807e12',
    950: '#000000',
  },
}
SCSS
$custom: #807e12;
$custom-light: #a8a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#807e12",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 58.909,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57652,
    "c": 0.11923,
    "h": 108.5
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

primary
#807E12
secondary
#383AB6
accent
#39F236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807E12

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

Preview Lab → · Contrast checker → · Palette generator →

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