#7A712C#7A712C

#7A712C is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.090 H 101.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7A712C
RGBrgb(122, 113, 44)
HSLhsl(53, 47%, 33%)
HSVhsv(53, 64%, 48%)
CMYKcmyk(0%, 7.4%, 63.9%, 52.2%)
CIE-LABlab(47.14, -5.71, 38.52)
CIE-LCHlch(47.14, 38.95, 98.43°)
OKLaboklab(54.24% -0.0186 0.0882)
OKLCHoklch(54.24% 0.09 101.9)
XYZxyz(14.3863, 16.1302, 4.7380)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A712C #2C357A
analogous
#7A4A2C #7A712C #5C7A2C
triadic
#7A712C #2C7A71 #712C7A
tetradic
#7A712C #2C7A4A #2C357A #7A2C5C
square
#7A712C #2C7A4A #2C357A #7A2C5C
split-complementary
#7A712C #2C5C7A #4A2C7A
monochromatic
#201E0C #4D471C #7A712C #A79B3C #C4B85C

Accessibility & contrast

On white

4.97
#7A712C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7A712C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A712C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A712C#FFFFFF#000000##FFFFFF
##7A712C1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E24
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#836962
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a712c;
/* rgb */ color: rgb(122, 113, 44);
/* oklch */ color: oklch(54.2% 0.090 101.9);
Tailwind
colors: {
  custom: {
    50: '#a39968',
    500: '#7a712c',
    950: '#000000',
  },
}
SCSS
$custom: #7a712c;
$custom-light: #a39968;
$custom-dark: #000000;
JSON
{
  "hex": "#7a712c",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 44
  },
  "hsl": {
    "h": 53.077,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54239,
    "c": 0.09016,
    "h": 101.9
  },
  "luminance": 0.1613
}

Semantic roles & 50–950 ramp

primary
#7A712C
secondary
#5761AA
accent
#61D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7A712C

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

Preview Lab → · Contrast checker → · Palette generator →

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