#807A2D#807A2D

#807A2D is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.098 H 104.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#807A2D
RGBrgb(128, 122, 45)
HSLhsl(56, 48%, 34%)
HSVhsv(56, 65%, 50%)
CMYKcmyk(0%, 4.7%, 64.8%, 49.8%)
CIE-LABlab(50.33, -7.92, 41.66)
CIE-LCHlch(50.33, 42.41, 100.76°)
OKLaboklab(56.91% -0.0252 0.0949)
OKLCHoklch(56.91% 0.098 104.9)
XYZxyz(16.3359, 18.6983, 5.2307)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807A2D #2D3380
analogous
#80512D #807A2D #5D802D
triadic
#807A2D #2D807A #7A2D80
tetradic
#807A2D #2D8051 #2D3380 #802D5D
square
#807A2D #2D8051 #2D3380 #802D5D
split-complementary
#807A2D #2D5D80 #512D80
monochromatic
#25240D #534F1D #807A2D #ADA53D #C7C060

Accessibility & contrast

On white

4.43
#807A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#807A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807A2D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807A2D#FFFFFF#000000##000000
##807A2D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847624
Deuteranopia (green-blind)
#877931
Tritanopia (blue-blind)
#89726A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #807a2d;
/* rgb */ color: rgb(128, 122, 45);
/* oklch */ color: oklch(56.9% 0.098 104.9);
Tailwind
colors: {
  custom: {
    50: '#a7a06a',
    500: '#807a2d',
    950: '#000000',
  },
}
SCSS
$custom: #807a2d;
$custom-light: #a7a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#807a2d",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 55.663,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.09815,
    "h": 104.9
  },
  "luminance": 0.18698
}

Semantic roles & 50–950 ramp

primary
#807A2D
secondary
#5B61AE
accent
#5AD850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #807A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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