#7A712B#7A712B

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

Color values

HEX#7A712B
RGBrgb(122, 113, 43)
HSLhsl(53, 48%, 32%)
HSVhsv(53, 65%, 48%)
CMYKcmyk(0%, 7.4%, 64.8%, 52.2%)
CIE-LABlab(47.14, -5.78, 38.99)
CIE-LCHlch(47.14, 39.42, 98.44°)
OKLaboklab(54.23% -0.0189 0.0891)
OKLCHoklch(54.23% 0.091 102)
XYZxyz(14.3678, 16.1228, 4.6402)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A712B #2B347A
analogous
#7A4A2B #7A712B #5B7A2B
triadic
#7A712B #2B7A71 #712B7A
tetradic
#7A712B #2B7A4A #2B347A #7A2B5B
square
#7A712B #2B7A4A #2B347A #7A2B5B
split-complementary
#7A712B #2B5B7A #4A2B7A
monochromatic
#1F1D0B #4D471B #7A712B #A79B3B #C5B95A

Accessibility & contrast

On white

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

On black

4.22
#7A712B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A712B#FFFFFF#000000##FFFFFF
##7A712B1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a712b;
/* rgb */ color: rgb(122, 113, 43);
/* oklch */ color: oklch(54.2% 0.091 102.0);
Tailwind
colors: {
  custom: {
    50: '#a39968',
    500: '#7a712b',
    950: '#000000',
  },
}
SCSS
$custom: #7a712b;
$custom-light: #a39968;
$custom-dark: #000000;
JSON
{
  "hex": "#7a712b",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 53.165,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.09106,
    "h": 102
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#7A712B
secondary
#5660AB
accent
#60D750
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7A712B

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

Preview Lab → · Contrast checker → · Palette generator →

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