#807F1C#807F1C

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

Color values

HEX#807F1C
RGBrgb(128, 127, 28)
HSLhsl(59, 64%, 31%)
HSVhsv(59, 78%, 50%)
CMYKcmyk(0%, 0.8%, 78.1%, 49.8%)
CIE-LABlab(51.67, -11.62, 49.91)
CIE-LCHlch(51.67, 51.24, 103.11°)
OKLaboklab(57.94% -0.0374 0.1092)
OKLCHoklch(57.94% 0.115 108.9)
XYZxyz(16.7017, 19.8523, 4.0505)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F1C #1C1D80
analogous
#804D1C #807F1C #4F801C
triadic
#807F1C #1C807F #7F1C80
tetradic
#807F1C #1C804D #1C1D80 #801C4F
square
#807F1C #1C804D #1C1D80 #801C4F
split-complementary
#807F1C #1C4F80 #4D1C80
monochromatic
#1C1B06 #4E4D11 #807F1C #B2B127 #D5D441

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807F1C#FFFFFF#000000##000000
##807F1C1.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)
#8A7904
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#8A766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f1c;
/* rgb */ color: rgb(128, 127, 28);
/* oklch */ color: oklch(57.9% 0.115 108.9);
Tailwind
colors: {
  custom: {
    50: '#a8a361',
    500: '#807f1c',
    950: '#000000',
  },
}
SCSS
$custom: #807f1c;
$custom-light: #a8a361;
$custom-dark: #000000;
JSON
{
  "hex": "#807f1c",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 59.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57937,
    "c": 0.11545,
    "h": 108.9
  },
  "luminance": 0.19852
}

Semantic roles & 50–950 ramp

primary
#807F1C
secondary
#4445B3
accent
#42E741
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #807F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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