#807C2B#807C2B

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

Color values

HEX#807C2B
RGBrgb(128, 124, 43)
HSLhsl(57, 50%, 34%)
HSVhsv(57, 66%, 50%)
CMYKcmyk(0%, 3.1%, 66.4%, 49.8%)
CIE-LABlab(50.90, -9.16, 43.17)
CIE-LCHlch(50.90, 44.13, 101.98°)
OKLaboklab(57.35% -0.0289 0.0977)
OKLCHoklch(57.35% 0.102 106.5)
XYZxyz(16.5464, 19.1795, 5.1154)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C2B #2B2F80
analogous
#80512B #807C2B #59802B
triadic
#807C2B #2B807C #7C2B80
tetradic
#807C2B #2B8051 #2B2F80 #802B59
square
#807C2B #2B8051 #2B2F80 #802B59
split-complementary
#807C2B #2B5980 #512B80
monochromatic
#24230C #52501C #807C2B #AEA83A #C9C35D

Accessibility & contrast

On white

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

On black

4.84
#807C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807C2B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807C2B#FFFFFF#000000##000000
##807C2B1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867721
Deuteranopia (green-blind)
#887B30
Tritanopia (blue-blind)
#89746B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #807c2b;
/* rgb */ color: rgb(128, 124, 43);
/* oklch */ color: oklch(57.4% 0.102 106.5);
Tailwind
colors: {
  custom: {
    50: '#a7a169',
    500: '#807c2b',
    950: '#000000',
  },
}
SCSS
$custom: #807c2b;
$custom-light: #a7a169;
$custom-dark: #000000;
JSON
{
  "hex": "#807c2b",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 57.176,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57354,
    "c": 0.10193,
    "h": 106.5
  },
  "luminance": 0.19179
}

Semantic roles & 50–950 ramp

primary
#807C2B
secondary
#585CAE
accent
#55D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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