#7B712D#7B712D

#7B712D is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.3% C 0.089 H 101.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7B712D
RGBrgb(123, 113, 45)
HSLhsl(52, 46%, 33%)
HSVhsv(52, 63%, 48%)
CMYKcmyk(0%, 8.1%, 63.4%, 51.8%)
CIE-LABlab(47.25, -5.17, 38.18)
CIE-LCHlch(47.25, 38.53, 97.72°)
OKLaboklab(54.35% -0.017 0.0876)
OKLCHoklch(54.35% 0.089 101)
XYZxyz(14.5477, 16.2113, 4.8449)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B712D #2D377B
analogous
#7B4A2D #7B712D #5E7B2D
triadic
#7B712D #2D7B71 #712D7B
tetradic
#7B712D #2D7B4A #2D377B #7B2D5E
square
#7B712D #2D7B4A #2D377B #7B2D5E
split-complementary
#7B712D #2D5E7B #4A2D7B
monochromatic
#211F0C #4E481D #7B712D #A89A3D #C4B75E

Accessibility & contrast

On white

4.95
#7B712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7B712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B712D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B712D#FFFFFF#000000##FFFFFF
##7B712D1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E25
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#846962
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b712d;
/* rgb */ color: rgb(123, 113, 45);
/* oklch */ color: oklch(54.3% 0.089 101.0);
Tailwind
colors: {
  custom: {
    50: '#a39969',
    500: '#7b712d',
    950: '#000000',
  },
}
SCSS
$custom: #7b712d;
$custom-light: #a39969;
$custom-dark: #000000;
JSON
{
  "hex": "#7b712d",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 52.308,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54349,
    "c": 0.08926,
    "h": 101
  },
  "luminance": 0.16211
}

Semantic roles & 50–950 ramp

primary
#7B712D
secondary
#5964AB
accent
#63D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7B712D

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

Preview Lab → · Contrast checker → · Palette generator →

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