#807E15#807E15

#807E15 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#807E15
RGBrgb(128, 126, 21)
HSLhsl(59, 72%, 29%)
HSVhsv(59, 84%, 50%)
CMYKcmyk(0%, 1.6%, 83.6%, 49.8%)
CIE-LABlab(51.34, -11.35, 51.82)
CIE-LCHlch(51.34, 53.05, 102.36°)
OKLaboklab(57.67% -0.0373 0.1119)
OKLCHoklch(57.67% 0.118 108.4)
XYZxyz(16.4990, 19.5656, 3.6168)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E15 #151780
analogous
#804915 #807E15 #4C8015
triadic
#807E15 #15807E #7E1580
tetradic
#807E15 #158049 #151780 #80154C
square
#807E15 #158049 #151780 #80154C
split-complementary
#807E15 #154C80 #491580
monochromatic
#1A1A04 #4B4A0C #807E15 #B5B21E #DDDA32

Accessibility & contrast

On white

4.27
#807E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##807E15#FFFFFF#000000##000000
##807E151.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #807e15;
/* rgb */ color: rgb(128, 126, 21);
/* oklch */ color: oklch(57.7% 0.118 108.4);
Tailwind
colors: {
  custom: {
    50: '#a8a35e',
    500: '#807e15',
    950: '#000000',
  },
}
SCSS
$custom: #807e15;
$custom-light: #a8a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#807e15",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 58.879,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.11796,
    "h": 108.4
  },
  "luminance": 0.19565
}

Semantic roles & 50–950 ramp

primary
#807E15
secondary
#3C3EB5
accent
#3DEF39
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807E15

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

Preview Lab → · Contrast checker → · Palette generator →

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