#7A712D#7A712D

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

Color values

HEX#7A712D
RGBrgb(122, 113, 45)
HSLhsl(53, 46%, 33%)
HSVhsv(53, 63%, 48%)
CMYKcmyk(0%, 7.4%, 63.1%, 52.2%)
CIE-LABlab(47.15, -5.64, 38.05)
CIE-LCHlch(47.15, 38.46, 98.43°)
OKLaboklab(54.25% -0.0183 0.0874)
OKLCHoklch(54.25% 0.089 101.8)
XYZxyz(14.4054, 16.1379, 4.8382)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A712D #2D367A
analogous
#7A4A2D #7A712D #5C7A2D
triadic
#7A712D #2D7A71 #712D7A
tetradic
#7A712D #2D7A4A #2D367A #7A2D5C
square
#7A712D #2D7A4A #2D367A #7A2D5C
split-complementary
#7A712D #2D5C7A #4A2D7A
monochromatic
#211E0C #4D481D #7A712D #A79A3D #C4B85E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A712D#FFFFFF#000000##FFFFFF
##7A712D1.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)
#7B6E25
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#836962
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a712d;
/* rgb */ color: rgb(122, 113, 45);
/* oklch */ color: oklch(54.3% 0.089 101.8);
Tailwind
colors: {
  custom: {
    50: '#a39969',
    500: '#7a712d',
    950: '#000000',
  },
}
SCSS
$custom: #7a712d;
$custom-light: #a39969;
$custom-dark: #000000;
JSON
{
  "hex": "#7a712d",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 52.987,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5425,
    "c": 0.08925,
    "h": 101.8
  },
  "luminance": 0.16137
}

Semantic roles & 50–950 ramp

primary
#7A712D
secondary
#5962AA
accent
#61D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7A712D

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

Preview Lab → · Contrast checker → · Palette generator →

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