#807C15#807C15

#807C15 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.116 H 107.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#807C15
RGBrgb(128, 124, 21)
HSLhsl(58, 72%, 29%)
HSVhsv(58, 84%, 50%)
CMYKcmyk(0%, 3.1%, 83.6%, 49.8%)
CIE-LABlab(50.76, -10.26, 51.31)
CIE-LCHlch(50.76, 52.33, 101.31°)
OKLaboklab(57.2% -0.0342 0.1108)
OKLCHoklch(57.2% 0.116 107.2)
XYZxyz(16.2458, 19.0592, 3.5324)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C15 #151980
analogous
#804715 #807C15 #4F8015
triadic
#807C15 #15807C #7C1580
tetradic
#807C15 #158047 #151980 #80154F
square
#807C15 #158047 #151980 #80154F
split-complementary
#807C15 #154F80 #471580
monochromatic
#1A1904 #4B490C #807C15 #B5AF1E #DDD732

Accessibility & contrast

On white

4.36
#807C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#807C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807C15
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807C15#FFFFFF#000000##000000
##807C151.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#897B1F
Tritanopia (blue-blind)
#8A7369
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #807c15;
/* rgb */ color: rgb(128, 124, 21);
/* oklch */ color: oklch(57.2% 0.116 107.2);
Tailwind
colors: {
  custom: {
    50: '#a8a15e',
    500: '#807c15',
    950: '#000000',
  },
}
SCSS
$custom: #807c15;
$custom-light: #a8a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#807c15",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 57.757,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57198,
    "c": 0.116,
    "h": 107.2
  },
  "luminance": 0.19059
}

Semantic roles & 50–950 ramp

primary
#807C15
secondary
#3C40B5
accent
#40EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807C15

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

Preview Lab → · Contrast checker → · Palette generator →

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