#807C17#807C17

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

Color values

HEX#807C17
RGBrgb(128, 124, 23)
HSLhsl(58, 70%, 30%)
HSVhsv(58, 82%, 50%)
CMYKcmyk(0%, 3.1%, 82%, 49.8%)
CIE-LABlab(50.77, -10.19, 50.72)
CIE-LCHlch(50.77, 51.73, 101.36°)
OKLaboklab(57.21% -0.0339 0.11)
OKLCHoklch(57.21% 0.115 107.1)
XYZxyz(16.2651, 19.0669, 3.6340)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C17 #171B80
analogous
#804717 #807C17 #508017
triadic
#807C17 #17807C #7C1780
tetradic
#807C17 #178047 #171B80 #801750
square
#807C17 #178047 #171B80 #801750
split-complementary
#807C17 #175080 #471780
monochromatic
#1A1905 #4C4A0E #807C17 #B4AE20 #DBD536

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807C17#FFFFFF#000000##000000
##807C171.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)
#897B20
Tritanopia (blue-blind)
#8A736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #807c17;
/* rgb */ color: rgb(128, 124, 23);
/* oklch */ color: oklch(57.2% 0.115 107.1);
Tailwind
colors: {
  custom: {
    50: '#a8a15f',
    500: '#807c17',
    950: '#000000',
  },
}
SCSS
$custom: #807c17;
$custom-light: #a8a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#807c17",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 57.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57208,
    "c": 0.11505,
    "h": 107.1
  },
  "luminance": 0.19066
}

Semantic roles & 50–950 ramp

primary
#807C17
secondary
#3E43B4
accent
#42EC3B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807C17

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

Preview Lab → · Contrast checker → · Palette generator →

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