#807F2A#807F2A

#807F2A is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.0% C 0.106 H 108.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#807F2A
RGBrgb(128, 127, 42)
HSLhsl(59, 51%, 33%)
HSVhsv(59, 67%, 50%)
CMYKcmyk(0%, 0.8%, 67.2%, 49.8%)
CIE-LABlab(51.76, -10.87, 44.52)
CIE-LCHlch(51.76, 45.83, 103.72°)
OKLaboklab(58.04% -0.0339 0.1004)
OKLCHoklch(58.04% 0.106 108.6)
XYZxyz(16.9099, 19.9356, 5.1472)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F2A #2A2B80
analogous
#80542A #807F2A #56802A
triadic
#807F2A #2A807F #7F2A80
tetradic
#807F2A #2A8054 #2A2B80 #802A56
square
#807F2A #2A8054 #2A2B80 #802A56
split-complementary
#807F2A #2A5680 #542A80
monochromatic
#24240C #52511B #807F2A #AEAD39 #C9C85B

Accessibility & contrast

On white

4.21
#807F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#807F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807F2A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807F2A#FFFFFF#000000##000000
##807F2A1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1E
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#89776E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f2a;
/* rgb */ color: rgb(128, 127, 42);
/* oklch */ color: oklch(58.0% 0.106 108.6);
Tailwind
colors: {
  custom: {
    50: '#a7a368',
    500: '#807f2a',
    950: '#000000',
  },
}
SCSS
$custom: #807f2a;
$custom-light: #a7a368;
$custom-dark: #000000;
JSON
{
  "hex": "#807f2a",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 59.302,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58043,
    "c": 0.10598,
    "h": 108.6
  },
  "luminance": 0.19935
}

Semantic roles & 50–950 ramp

primary
#807F2A
secondary
#5758AF
accent
#4FDA4E
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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