#807D2D#807D2D

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

Color values

HEX#807D2D
RGBrgb(128, 125, 45)
HSLhsl(58, 48%, 34%)
HSVhsv(58, 65%, 50%)
CMYKcmyk(0%, 2.3%, 64.8%, 49.8%)
CIE-LABlab(51.21, -9.58, 42.59)
CIE-LCHlch(51.21, 43.66, 102.67°)
OKLaboklab(57.61% -0.0299 0.0968)
OKLCHoklch(57.61% 0.101 107.1)
XYZxyz(16.7099, 19.4464, 5.3554)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D2D #2D3080
analogous
#80542D #807D2D #5A802D
triadic
#807D2D #2D807D #7D2D80
tetradic
#807D2D #2D8054 #2D3080 #802D5A
square
#807D2D #2D8054 #2D3080 #802D5A
split-complementary
#807D2D #2D5A80 #542D80
monochromatic
#25250D #53511D #807D2D #ADA93D #C7C360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807D2D#FFFFFF#000000##000000
##807D2D1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #807d2d;
/* rgb */ color: rgb(128, 125, 45);
/* oklch */ color: oklch(57.6% 0.101 107.1);
Tailwind
colors: {
  custom: {
    50: '#a7a26a',
    500: '#807d2d',
    950: '#000000',
  },
}
SCSS
$custom: #807d2d;
$custom-light: #a7a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#807d2d",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 57.831,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57606,
    "c": 0.10134,
    "h": 107.1
  },
  "luminance": 0.19446
}

Semantic roles & 50–950 ramp

primary
#807D2D
secondary
#5B5EAE
accent
#55D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F07
muted
#7F7E7A

Preview Lab

Preview with #807D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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