#807B2D#807B2D

#807B2D is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.1% C 0.099 H 105.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#807B2D
RGBrgb(128, 123, 45)
HSLhsl(56, 48%, 34%)
HSVhsv(56, 65%, 50%)
CMYKcmyk(0%, 3.9%, 64.8%, 49.8%)
CIE-LABlab(50.62, -8.47, 41.97)
CIE-LCHlch(50.62, 42.82, 101.41°)
OKLaboklab(57.14% -0.0267 0.0955)
OKLCHoklch(57.14% 0.099 105.6)
XYZxyz(16.4593, 18.9451, 5.2719)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807B2D #2D3280
analogous
#80522D #807B2D #5C802D
triadic
#807B2D #2D807B #7B2D80
tetradic
#807B2D #2D8052 #2D3280 #802D5C
square
#807B2D #2D8052 #2D3280 #802D5C
split-complementary
#807B2D #2D5C80 #522D80
monochromatic
#25240D #534F1D #807B2D #ADA73D #C7C160

Accessibility & contrast

On white

4.39
#807B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#807B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807B2D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807B2D#FFFFFF#000000##000000
##807B2D1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857724
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#89736B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #807b2d;
/* rgb */ color: rgb(128, 123, 45);
/* oklch */ color: oklch(57.1% 0.099 105.6);
Tailwind
colors: {
  custom: {
    50: '#a7a16a',
    500: '#807b2d',
    950: '#000000',
  },
}
SCSS
$custom: #807b2d;
$custom-light: #a7a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#807b2d",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 56.386,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.0992,
    "h": 105.6
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#807B2D
secondary
#5B60AE
accent
#58D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #807B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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