#7B712A#7B712A

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

Color values

HEX#7B712A
RGBrgb(123, 113, 42)
HSLhsl(53, 49%, 32%)
HSVhsv(53, 66%, 48%)
CMYKcmyk(0%, 8.1%, 65.9%, 51.8%)
CIE-LABlab(47.22, -5.39, 39.59)
CIE-LCHlch(47.22, 39.96, 97.75°)
OKLaboklab(54.32% -0.018 0.0901)
OKLCHoklch(54.32% 0.092 101.3)
XYZxyz(14.4920, 16.1890, 4.5515)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B712A #2A347B
analogous
#7B492A #7B712A #5C7B2A
triadic
#7B712A #2A7B71 #712A7B
tetradic
#7B712A #2A7B49 #2A347B #7B2A5C
square
#7B712A #2A7B49 #2A347B #7B2A5C
split-complementary
#7B712A #2A5C7B #492A7B
monochromatic
#201D0B #4D471A #7B712A #A99B3A #C6B959

Accessibility & contrast

On white

4.96
#7B712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B712A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B712A#FFFFFF#000000##FFFFFF
##7B712A1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b712a;
/* rgb */ color: rgb(123, 113, 42);
/* oklch */ color: oklch(54.3% 0.092 101.3);
Tailwind
colors: {
  custom: {
    50: '#a49967',
    500: '#7b712a',
    950: '#000000',
  },
}
SCSS
$custom: #7b712a;
$custom-light: #a49967;
$custom-dark: #000000;
JSON
{
  "hex": "#7b712a",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 52.593,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.09193,
    "h": 101.3
  },
  "luminance": 0.16188
}

Semantic roles & 50–950 ramp

primary
#7B712A
secondary
#5560AC
accent
#60D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7B712A

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

Preview Lab → · Contrast checker → · Palette generator →

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