#807D17#807D17

#807D17 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.116 H 107.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#807D17
RGBrgb(128, 125, 23)
HSLhsl(58, 70%, 30%)
HSVhsv(58, 82%, 50%)
CMYKcmyk(0%, 2.3%, 82%, 49.8%)
CIE-LABlab(51.06, -10.74, 50.98)
CIE-LCHlch(51.06, 52.10, 101.89°)
OKLaboklab(57.44% -0.0354 0.1105)
OKLCHoklch(57.44% 0.116 107.8)
XYZxyz(16.3910, 19.3189, 3.6759)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D17 #171A80
analogous
#804917 #807D17 #4E8017
triadic
#807D17 #17807D #7D1780
tetradic
#807D17 #178049 #171A80 #80174E
square
#807D17 #178049 #171A80 #80174E
split-complementary
#807D17 #174E80 #491780
monochromatic
#1A1905 #4C4A0E #807D17 #B4B020 #DBD636

Accessibility & contrast

On white

4.32
#807D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#807D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807D17
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807D17#FFFFFF#000000##000000
##807D171.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#8A746A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d17;
/* rgb */ color: rgb(128, 125, 23);
/* oklch */ color: oklch(57.4% 0.116 107.8);
Tailwind
colors: {
  custom: {
    50: '#a8a25f',
    500: '#807d17',
    950: '#000000',
  },
}
SCSS
$custom: #807d17;
$custom-light: #a8a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#807d17",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 58.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57441,
    "c": 0.11604,
    "h": 107.8
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

primary
#807D17
secondary
#3E42B4
accent
#41EC3B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807D17

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

Preview Lab → · Contrast checker → · Palette generator →

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