#80702F#80702F

#80702F is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.087 H 95.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#80702F
RGBrgb(128, 112, 47)
HSLhsl(48, 46%, 34%)
HSVhsv(48, 63%, 50%)
CMYKcmyk(0%, 12.5%, 63.3%, 49.8%)
CIE-LABlab(47.47, -2.14, 37.58)
CIE-LCHlch(47.47, 37.64, 93.25°)
OKLaboklab(54.65% -0.0084 0.0865)
OKLCHoklch(54.65% 0.087 95.5)
XYZxyz(15.2100, 16.3835, 5.0499)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80702F #2F3F80
analogous
#80482F #80702F #68802F
triadic
#80702F #2F8070 #702F80
tetradic
#80702F #2F8048 #2F3F80 #802F68
square
#80702F #2F8048 #2F3F80 #802F68
split-complementary
#80702F #2F6880 #482F80
monochromatic
#26220E #53491F #80702F #AD973F #C6B263

Accessibility & contrast

On white

4.91
#80702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#80702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #80702F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80702F#FFFFFF#000000##FFFFFF
##80702F1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E28
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#8A6862
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #80702f;
/* rgb */ color: rgb(128, 112, 47);
/* oklch */ color: oklch(54.6% 0.087 95.5);
Tailwind
colors: {
  custom: {
    50: '#a7986a',
    500: '#80702f',
    950: '#000000',
  },
}
SCSS
$custom: #80702f;
$custom-light: #a7986a;
$custom-dark: #000000;
JSON
{
  "hex": "#80702f",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 48.148,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.0869,
    "h": 95.5
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#80702F
secondary
#5E6EAD
accent
#6CD652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D07
muted
#7F7E7A

Preview Lab

Preview with #80702F

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

Preview Lab → · Contrast checker → · Palette generator →

#80702F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva