#807E1C#807E1C

#807E1C is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.114 H 108.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#807E1C
RGBrgb(128, 126, 28)
HSLhsl(59, 64%, 31%)
HSVhsv(59, 78%, 50%)
CMYKcmyk(0%, 1.6%, 78.1%, 49.8%)
CIE-LABlab(51.38, -11.08, 49.64)
CIE-LCHlch(51.38, 50.86, 102.58°)
OKLaboklab(57.7% -0.0359 0.1086)
OKLCHoklch(57.7% 0.114 108.3)
XYZxyz(16.5732, 19.5953, 4.0076)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E1C #1C1E80
analogous
#804C1C #807E1C #50801C
triadic
#807E1C #1C807E #7E1C80
tetradic
#807E1C #1C804C #1C1E80 #801C50
square
#807E1C #1C804C #1C1E80 #801C50
split-complementary
#807E1C #1C5080 #4C1C80
monochromatic
#1C1B06 #4E4D11 #807E1C #B2AF27 #D5D241

Accessibility & contrast

On white

4.27
#807E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#807E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807E1C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807E1C#FFFFFF#000000##000000
##807E1C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897904
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#8A756C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807e1c;
/* rgb */ color: rgb(128, 126, 28);
/* oklch */ color: oklch(57.7% 0.114 108.3);
Tailwind
colors: {
  custom: {
    50: '#a8a361',
    500: '#807e1c',
    950: '#000000',
  },
}
SCSS
$custom: #807e1c;
$custom-light: #a8a361;
$custom-dark: #000000;
JSON
{
  "hex": "#807e1c",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 58.8,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57703,
    "c": 0.11441,
    "h": 108.3
  },
  "luminance": 0.19595
}

Semantic roles & 50–950 ramp

primary
#807E1C
secondary
#4447B3
accent
#44E741
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #807E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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