#807917#807917

#807917 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.112 H 105.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#807917
RGBrgb(128, 121, 23)
HSLhsl(56, 70%, 30%)
HSVhsv(56, 82%, 50%)
CMYKcmyk(0%, 5.5%, 82%, 49.8%)
CIE-LABlab(49.89, -8.54, 49.95)
CIE-LCHlch(49.89, 50.67, 99.70°)
OKLaboklab(56.51% -0.0293 0.1083)
OKLCHoklch(56.51% 0.112 105.1)
XYZxyz(15.8948, 18.3264, 3.5105)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807917 #171E80
analogous
#804517 #807917 #538017
triadic
#807917 #178079 #791780
tetradic
#807917 #178045 #171E80 #801753
square
#807917 #178045 #171E80 #801753
split-complementary
#807917 #175380 #451780
monochromatic
#1A1905 #4C480E #807917 #B4AA20 #DBD036

Accessibility & contrast

On white

4.50
#807917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#807917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807917
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807917#FFFFFF#000000##000000
##8079171.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#87781F
Tritanopia (blue-blind)
#8A7067
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #807917;
/* rgb */ color: rgb(128, 121, 23);
/* oklch */ color: oklch(56.5% 0.112 105.1);
Tailwind
colors: {
  custom: {
    50: '#a89f5e',
    500: '#807917',
    950: '#000000',
  },
}
SCSS
$custom: #807917;
$custom-light: #a89f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#807917",
  "rgb": {
    "r": 128,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 56,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.11217,
    "h": 105.1
  },
  "luminance": 0.18326
}

Semantic roles & 50–950 ramp

primary
#807917
secondary
#3E46B4
accent
#47EC3B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807917

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

Preview Lab → · Contrast checker → · Palette generator →

#807917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva