#807B17#807B17

#807B17 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.0% C 0.114 H 106.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#807B17
RGBrgb(128, 123, 23)
HSLhsl(57, 70%, 30%)
HSVhsv(57, 82%, 50%)
CMYKcmyk(0%, 3.9%, 82%, 49.8%)
CIE-LABlab(50.47, -9.64, 50.46)
CIE-LCHlch(50.47, 51.38, 100.81°)
OKLaboklab(56.97% -0.0323 0.1094)
OKLCHoklch(56.97% 0.114 106.5)
XYZxyz(16.1404, 18.8176, 3.5924)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807B17 #171C80
analogous
#804717 #807B17 #518017
triadic
#807B17 #17807B #7B1780
tetradic
#807B17 #178047 #171C80 #801751
square
#807B17 #178047 #171C80 #801751
split-complementary
#807B17 #175180 #471780
monochromatic
#1A1905 #4C490E #807B17 #B4AD20 #DBD336

Accessibility & contrast

On white

4.41
#807B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#807B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807B17
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807B17#FFFFFF#000000##000000
##807B171.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#887A20
Tritanopia (blue-blind)
#8A7269
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #807b17;
/* rgb */ color: rgb(128, 123, 23);
/* oklch */ color: oklch(57.0% 0.114 106.5);
Tailwind
colors: {
  custom: {
    50: '#a8a05e',
    500: '#807b17',
    950: '#000000',
  },
}
SCSS
$custom: #807b17;
$custom-light: #a8a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#807b17",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 57.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.11408,
    "h": 106.5
  },
  "luminance": 0.18817
}

Semantic roles & 50–950 ramp

primary
#807B17
secondary
#3E44B4
accent
#44EC3B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807B17

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

Preview Lab → · Contrast checker → · Palette generator →

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