#807C2E#807C2E

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

Color values

HEX#807C2E
RGBrgb(128, 124, 46)
HSLhsl(57, 47%, 34%)
HSVhsv(57, 64%, 50%)
CMYKcmyk(0%, 3.1%, 64.1%, 49.8%)
CIE-LABlab(50.92, -8.96, 41.83)
CIE-LCHlch(50.92, 42.78, 102.09°)
OKLaboklab(57.38% -0.028 0.0954)
OKLCHoklch(57.38% 0.099 106.4)
XYZxyz(16.6034, 19.2023, 5.4160)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C2E #2E3280
analogous
#80532E #807C2E #5B802E
triadic
#807C2E #2E807C #7C2E80
tetradic
#807C2E #2E8053 #2E3280 #802E5B
square
#807C2E #2E8053 #2E3280 #802E5B
split-complementary
#807C2E #2E5B80 #532E80
monochromatic
#26250E #53501E #807C2E #ADA83E #C7C262

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807C2E#FFFFFF#000000##000000
##807C2E1.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)
#867725
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#89746C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #807c2e;
/* rgb */ color: rgb(128, 124, 46);
/* oklch */ color: oklch(57.4% 0.099 106.4);
Tailwind
colors: {
  custom: {
    50: '#a7a16b',
    500: '#807c2e',
    950: '#000000',
  },
}
SCSS
$custom: #807c2e;
$custom-light: #a7a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#807c2e",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 57.073,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57384,
    "c": 0.0994,
    "h": 106.4
  },
  "luminance": 0.19202
}

Semantic roles & 50–950 ramp

primary
#807C2E
secondary
#5D61AD
accent
#58D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F07
muted
#7F7E7A

Preview Lab

Preview with #807C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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