#807D15#807D15

#807D15 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#807D15
RGBrgb(128, 125, 21)
HSLhsl(58, 72%, 29%)
HSVhsv(58, 84%, 50%)
CMYKcmyk(0%, 2.3%, 83.6%, 49.8%)
CIE-LABlab(51.05, -10.81, 51.56)
CIE-LCHlch(51.05, 52.68, 101.84°)
OKLaboklab(57.43% -0.0357 0.1114)
OKLCHoklch(57.43% 0.117 107.8)
XYZxyz(16.3717, 19.3111, 3.5744)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D15 #151880
analogous
#804815 #807D15 #4E8015
triadic
#807D15 #15807D #7D1580
tetradic
#807D15 #158048 #151880 #80154E
square
#807D15 #158048 #151880 #80154E
split-complementary
#807D15 #154E80 #481580
monochromatic
#1A1A04 #4B4A0C #807D15 #B5B01E #DDD932

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #807d15;
/* rgb */ color: rgb(128, 125, 21);
/* oklch */ color: oklch(57.4% 0.117 107.8);
Tailwind
colors: {
  custom: {
    50: '#a8a25e',
    500: '#807d15',
    950: '#000000',
  },
}
SCSS
$custom: #807d15;
$custom-light: #a8a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#807d15",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 58.318,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57431,
    "c": 0.11698,
    "h": 107.8
  },
  "luminance": 0.19311
}

Semantic roles & 50–950 ramp

primary
#807D15
secondary
#3C3FB5
accent
#3EEF39
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807D15

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

Preview Lab → · Contrast checker → · Palette generator →

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