#807E2A#807E2A

#807E2A is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.105 H 108.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#807E2A
RGBrgb(128, 126, 42)
HSLhsl(59, 51%, 33%)
HSVhsv(59, 67%, 50%)
CMYKcmyk(0%, 1.6%, 67.2%, 49.8%)
CIE-LABlab(51.47, -10.33, 44.22)
CIE-LCHlch(51.47, 45.41, 103.15°)
OKLaboklab(57.81% -0.0323 0.0998)
OKLCHoklch(57.81% 0.105 108)
XYZxyz(16.7814, 19.6786, 5.1044)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E2A #2A2C80
analogous
#80532A #807E2A #57802A
triadic
#807E2A #2A807E #7E2A80
tetradic
#807E2A #2A8053 #2A2C80 #802A57
square
#807E2A #2A8053 #2A2C80 #802A57
split-complementary
#807E2A #2A5780 #532A80
monochromatic
#24230C #52511B #807E2A #AEAB39 #C9C75B

Accessibility & contrast

On white

4.25
#807E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#807E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807E2A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807E2A#FFFFFF#000000##000000
##807E2A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#89766D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807e2a;
/* rgb */ color: rgb(128, 126, 42);
/* oklch */ color: oklch(57.8% 0.105 108.0);
Tailwind
colors: {
  custom: {
    50: '#a7a368',
    500: '#807e2a',
    950: '#000000',
  },
}
SCSS
$custom: #807e2a;
$custom-light: #a7a368;
$custom-dark: #000000;
JSON
{
  "hex": "#807e2a",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 58.605,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5781,
    "c": 0.10489,
    "h": 108
  },
  "luminance": 0.19678
}

Semantic roles & 50–950 ramp

primary
#807E2A
secondary
#5759AF
accent
#51DA4E
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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