#807D2E#807D2E

#807D2E is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.100 H 107.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#807D2E
RGBrgb(128, 125, 46)
HSLhsl(58, 47%, 34%)
HSVhsv(58, 64%, 50%)
CMYKcmyk(0%, 2.3%, 64.1%, 49.8%)
CIE-LABlab(51.21, -9.51, 42.14)
CIE-LCHlch(51.21, 43.20, 102.71°)
OKLaboklab(57.62% -0.0295 0.096)
OKLCHoklch(57.62% 0.1 107.1)
XYZxyz(16.7294, 19.4542, 5.4580)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D2E #2E3180
analogous
#80542E #807D2E #5A802E
triadic
#807D2E #2E807D #7D2E80
tetradic
#807D2E #2E8054 #2E3180 #802E5A
square
#807D2E #2E8054 #2E3180 #802E5A
split-complementary
#807D2E #2E5A80 #542E80
monochromatic
#26250E #53511E #807D2E #ADA93E #C7C362

Accessibility & contrast

On white

4.29
#807D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#807D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807D2E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807D2E#FFFFFF#000000##000000
##807D2E1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#89756C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d2e;
/* rgb */ color: rgb(128, 125, 46);
/* oklch */ color: oklch(57.6% 0.100 107.1);
Tailwind
colors: {
  custom: {
    50: '#a7a26b',
    500: '#807d2e',
    950: '#000000',
  },
}
SCSS
$custom: #807d2e;
$custom-light: #a7a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#807d2e",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 57.805,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.10048,
    "h": 107.1
  },
  "luminance": 0.19454
}

Semantic roles & 50–950 ramp

primary
#807D2E
secondary
#5D60AD
accent
#56D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F07
muted
#7F7E7A

Preview Lab

Preview with #807D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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