#807D2A#807D2A

#807D2A is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.104 H 107.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#807D2A
RGBrgb(128, 125, 42)
HSLhsl(58, 51%, 33%)
HSVhsv(58, 67%, 50%)
CMYKcmyk(0%, 2.3%, 67.2%, 49.8%)
CIE-LABlab(51.18, -9.78, 43.91)
CIE-LCHlch(51.18, 44.99, 102.55°)
OKLaboklab(57.58% -0.0308 0.0991)
OKLCHoklch(57.58% 0.104 107.2)
XYZxyz(16.6542, 19.4241, 5.0620)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D2A #2A2D80
analogous
#80522A #807D2A #58802A
triadic
#807D2A #2A807D #7D2A80
tetradic
#807D2A #2A8052 #2A2D80 #802A58
square
#807D2A #2A8052 #2A2D80 #802A58
split-complementary
#807D2A #2A5880 #522A80
monochromatic
#24230C #52501B #807D2A #AEAA39 #C9C55B

Accessibility & contrast

On white

4.30
#807D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#807D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807D2A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807D2A#FFFFFF#000000##000000
##807D2A1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781F
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#89756C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d2a;
/* rgb */ color: rgb(128, 125, 42);
/* oklch */ color: oklch(57.6% 0.104 107.2);
Tailwind
colors: {
  custom: {
    50: '#a7a268',
    500: '#807d2a',
    950: '#000000',
  },
}
SCSS
$custom: #807d2a;
$custom-light: #a7a268;
$custom-dark: #000000;
JSON
{
  "hex": "#807d2a",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 57.907,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57577,
    "c": 0.10381,
    "h": 107.2
  },
  "luminance": 0.19424
}

Semantic roles & 50–950 ramp

primary
#807D2A
secondary
#575AAF
accent
#53DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #807D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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