#807E14#807E14

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

Color values

HEX#807E14
RGBrgb(128, 126, 20)
HSLhsl(59, 73%, 29%)
HSVhsv(59, 84%, 50%)
CMYKcmyk(0%, 1.6%, 84.4%, 49.8%)
CIE-LABlab(51.34, -11.38, 52.09)
CIE-LCHlch(51.34, 53.32, 102.33°)
OKLaboklab(57.66% -0.0374 0.1123)
OKLCHoklch(57.66% 0.118 108.4)
XYZxyz(16.4899, 19.5620, 3.5689)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E14 #141680
analogous
#804814 #807E14 #4C8014
triadic
#807E14 #14807E #7E1480
tetradic
#807E14 #148048 #141680 #80144C
square
#807E14 #148048 #141680 #80144C
split-complementary
#807E14 #144C80 #481480
monochromatic
#1A1A04 #4B4A0C #807E14 #B5B21C #DFDB30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807E14#FFFFFF#000000##000000
##807E141.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)
#8B7C1E
Tritanopia (blue-blind)
#8A756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807e14;
/* rgb */ color: rgb(128, 126, 20);
/* oklch */ color: oklch(57.7% 0.118 108.4);
Tailwind
colors: {
  custom: {
    50: '#a8a35e',
    500: '#807e14',
    950: '#000000',
  },
}
SCSS
$custom: #807e14;
$custom-light: #a8a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#807e14",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 58.889,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57661,
    "c": 0.11841,
    "h": 108.4
  },
  "luminance": 0.19561
}

Semantic roles & 50–950 ramp

primary
#807E14
secondary
#3B3DB5
accent
#3CF038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807E14

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

Preview Lab → · Contrast checker → · Palette generator →

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