#807C2A#807C2A

#807C2A is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.103 H 106.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#807C2A
RGBrgb(128, 124, 42)
HSLhsl(57, 51%, 33%)
HSVhsv(57, 67%, 50%)
CMYKcmyk(0%, 3.1%, 67.2%, 49.8%)
CIE-LABlab(50.89, -9.23, 43.61)
CIE-LCHlch(50.89, 44.57, 101.95°)
OKLaboklab(57.34% -0.0292 0.0985)
OKLCHoklch(57.34% 0.103 106.5)
XYZxyz(16.5282, 19.1722, 5.0200)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C2A #2A2E80
analogous
#80512A #807C2A #59802A
triadic
#807C2A #2A807C #7C2A80
tetradic
#807C2A #2A8051 #2A2E80 #802A59
square
#807C2A #2A8051 #2A2E80 #802A59
split-complementary
#807C2A #2A5980 #512A80
monochromatic
#24230C #524F1B #807C2A #AEA939 #C9C45B

Accessibility & contrast

On white

4.34
#807C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#807C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807C2A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807C2A#FFFFFF#000000##000000
##807C2A1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#89746B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #807c2a;
/* rgb */ color: rgb(128, 124, 42);
/* oklch */ color: oklch(57.3% 0.103 106.5);
Tailwind
colors: {
  custom: {
    50: '#a7a168',
    500: '#807c2a',
    950: '#000000',
  },
}
SCSS
$custom: #807c2a;
$custom-light: #a7a168;
$custom-dark: #000000;
JSON
{
  "hex": "#807c2a",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 57.209,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57344,
    "c": 0.10275,
    "h": 106.5
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#807C2A
secondary
#575BAF
accent
#54DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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