#807A17#807A17

#807A17 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.113 H 105.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#807A17
RGBrgb(128, 122, 23)
HSLhsl(57, 70%, 30%)
HSVhsv(57, 82%, 50%)
CMYKcmyk(0%, 4.7%, 82%, 49.8%)
CIE-LABlab(50.18, -9.09, 50.20)
CIE-LCHlch(50.18, 51.02, 100.26°)
OKLaboklab(56.74% -0.0308 0.1089)
OKLCHoklch(56.74% 0.113 105.8)
XYZxyz(16.0170, 18.5707, 3.5513)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807A17 #171D80
analogous
#804517 #807A17 #528017
triadic
#807A17 #17807A #7A1780
tetradic
#807A17 #178045 #171D80 #801752
square
#807A17 #178045 #171D80 #801752
split-complementary
#807A17 #175280 #451780
monochromatic
#1A1905 #4C490E #807A17 #B4AB20 #DBD236

Accessibility & contrast

On white

4.45
#807A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#807A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807A17
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807A17#FFFFFF#000000##000000
##807A171.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#887920
Tritanopia (blue-blind)
#8A7168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #807a17;
/* rgb */ color: rgb(128, 122, 23);
/* oklch */ color: oklch(56.7% 0.113 105.8);
Tailwind
colors: {
  custom: {
    50: '#a8a05e',
    500: '#807a17',
    950: '#000000',
  },
}
SCSS
$custom: #807a17;
$custom-light: #a8a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#807a17",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 56.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56742,
    "c": 0.11312,
    "h": 105.8
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

primary
#807A17
secondary
#3E45B4
accent
#46EC3B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807A17

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

Preview Lab → · Contrast checker → · Palette generator →

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