#7F712A#7F712A

#7F712A is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.092 H 98.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7F712A
RGBrgb(127, 113, 42)
HSLhsl(50, 50%, 33%)
HSVhsv(50, 67%, 50%)
CMYKcmyk(0%, 11%, 66.9%, 50.2%)
CIE-LABlab(47.61, -3.53, 40.12)
CIE-LCHlch(47.61, 40.28, 95.02°)
OKLaboklab(54.72% -0.0129 0.0912)
OKLCHoklch(54.72% 0.092 98.1)
XYZxyz(15.0761, 16.4901, 4.5788)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F712A #2A387F
analogous
#7F462A #7F712A #627F2A
triadic
#7F712A #2A7F71 #712A7F
tetradic
#7F712A #2A7F46 #2A387F #7F2A62
square
#7F712A #2A7F46 #2A387F #7F2A62
split-complementary
#7F712A #2A627F #462A7F
monochromatic
#231F0C #51481B #7F712A #AD9A39 #C9B75B

Accessibility & contrast

On white

4.89
#7F712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7F712A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F712A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F712A#FFFFFF#000000##FFFFFF
##7F712A1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#80732E
Tritanopia (blue-blind)
#896962
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f712a;
/* rgb */ color: rgb(127, 113, 42);
/* oklch */ color: oklch(54.7% 0.092 98.1);
Tailwind
colors: {
  custom: {
    50: '#a79967',
    500: '#7f712a',
    950: '#000000',
  },
}
SCSS
$custom: #7f712a;
$custom-light: #a79967;
$custom-dark: #000000;
JSON
{
  "hex": "#7f712a",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 50.118,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.09208,
    "h": 98.1
  },
  "luminance": 0.16489
}

Semantic roles & 50–950 ramp

primary
#7F712A
secondary
#5765AE
accent
#65DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7F712A

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

Preview Lab → · Contrast checker → · Palette generator →

#7F712A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva