#807D14#807D14

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

Color values

HEX#807D14
RGBrgb(128, 125, 20)
HSLhsl(58, 73%, 29%)
HSVhsv(58, 84%, 50%)
CMYKcmyk(0%, 2.3%, 84.4%, 49.8%)
CIE-LABlab(51.05, -10.84, 51.84)
CIE-LCHlch(51.05, 52.96, 101.81°)
OKLaboklab(57.43% -0.0359 0.1118)
OKLCHoklch(57.43% 0.117 107.8)
XYZxyz(16.3627, 19.3075, 3.5265)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D14 #141780
analogous
#804714 #807D14 #4D8014
triadic
#807D14 #14807D #7D1480
tetradic
#807D14 #148047 #141780 #80144D
square
#807D14 #148047 #141780 #80144D
split-complementary
#807D14 #144D80 #471480
monochromatic
#1A1A04 #4B490C #807D14 #B5B11C #DFDA30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807D14#FFFFFF#000000##000000
##807D141.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)
#8A7B1E
Tritanopia (blue-blind)
#8A746A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d14;
/* rgb */ color: rgb(128, 125, 20);
/* oklch */ color: oklch(57.4% 0.117 107.8);
Tailwind
colors: {
  custom: {
    50: '#a8a25e',
    500: '#807d14',
    950: '#000000',
  },
}
SCSS
$custom: #807d14;
$custom-light: #a8a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#807d14",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 58.333,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57426,
    "c": 0.11742,
    "h": 107.8
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#807D14
secondary
#3B3EB5
accent
#3DF038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807D14

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

Preview Lab → · Contrast checker → · Palette generator →

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