#807F2E#807F2E

#807F2E is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.103 H 108.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#807F2E
RGBrgb(128, 127, 46)
HSLhsl(59, 47%, 34%)
HSVhsv(59, 64%, 50%)
CMYKcmyk(0%, 0.8%, 64.1%, 49.8%)
CIE-LABlab(51.80, -10.60, 42.77)
CIE-LCHlch(51.80, 44.06, 103.92°)
OKLaboklab(58.08% -0.0326 0.0974)
OKLCHoklch(58.08% 0.103 108.5)
XYZxyz(16.9851, 19.9657, 5.5433)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F2E #2E2F80
analogous
#80562E #807F2E #58802E
triadic
#807F2E #2E807F #7F2E80
tetradic
#807F2E #2E8056 #2E2F80 #802E58
square
#807F2E #2E8056 #2E2F80 #802E58
split-complementary
#807F2E #2E5880 #562E80
monochromatic
#26260E #53521E #807F2E #ADAC3E #C7C562

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807F2E#FFFFFF#000000##000000
##807F2E1.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)
#897A24
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#89776E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f2e;
/* rgb */ color: rgb(128, 127, 46);
/* oklch */ color: oklch(58.1% 0.103 108.5);
Tailwind
colors: {
  custom: {
    50: '#a7a36b',
    500: '#807f2e',
    950: '#000000',
  },
}
SCSS
$custom: #807f2e;
$custom-light: #a7a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#807f2e",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 59.268,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58081,
    "c": 0.1027,
    "h": 108.5
  },
  "luminance": 0.19965
}

Semantic roles & 50–950 ramp

primary
#807F2E
secondary
#5D5EAD
accent
#53D751
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #807F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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