#807F17#807F17

#807F17 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.118 H 109.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#807F17
RGBrgb(128, 127, 23)
HSLhsl(59, 70%, 30%)
HSVhsv(59, 82%, 50%)
CMYKcmyk(0%, 0.8%, 82%, 49.8%)
CIE-LABlab(51.64, -11.82, 51.49)
CIE-LCHlch(51.64, 52.83, 102.93°)
OKLaboklab(57.91% -0.0384 0.1116)
OKLCHoklch(57.91% 0.118 109)
XYZxyz(16.6468, 19.8303, 3.7612)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F17 #171880
analogous
#804B17 #807F17 #4C8017
triadic
#807F17 #17807F #7F1780
tetradic
#807F17 #17804B #171880 #80174C
square
#807F17 #17804B #171880 #80174C
split-complementary
#807F17 #174C80 #4B1780
monochromatic
#1A1A05 #4C4C0E #807F17 #B4B220 #DBD936

Accessibility & contrast

On white

4.23
#807F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#807F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807F17
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807F17#FFFFFF#000000##000000
##807F171.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7D21
Tritanopia (blue-blind)
#8A766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f17;
/* rgb */ color: rgb(128, 127, 23);
/* oklch */ color: oklch(57.9% 0.118 109.0);
Tailwind
colors: {
  custom: {
    50: '#a8a35f',
    500: '#807f17',
    950: '#000000',
  },
}
SCSS
$custom: #807f17;
$custom-light: #a8a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#807f17",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 59.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5791,
    "c": 0.11805,
    "h": 109
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

primary
#807F17
secondary
#3E3FB4
accent
#3DEC3B
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #807F17

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

Preview Lab → · Contrast checker → · Palette generator →

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