#7A712F#7A712F

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

Color values

HEX#7A712F
RGBrgb(122, 113, 47)
HSLhsl(53, 44%, 33%)
HSVhsv(53, 61%, 48%)
CMYKcmyk(0%, 7.4%, 61.5%, 52.2%)
CIE-LABlab(47.18, -5.48, 37.08)
CIE-LCHlch(47.18, 37.49, 98.41°)
OKLaboklab(54.27% -0.0176 0.0856)
OKLCHoklch(54.27% 0.087 101.6)
XYZxyz(14.4448, 16.1536, 5.0459)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A712F #2F387A
analogous
#7A4B2F #7A712F #5D7A2F
triadic
#7A712F #2F7A71 #712F7A
tetradic
#7A712F #2F7A4B #2F387A #7A2F5D
square
#7A712F #2F7A4B #2F387A #7A2F5D
split-complementary
#7A712F #2F5D7A #4B2F7A
monochromatic
#221F0D #4E481E #7A712F #A69A40 #C2B761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A712F#FFFFFF#000000##FFFFFF
##7A712F1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E28
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#836963
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a712f;
/* rgb */ color: rgb(122, 113, 47);
/* oklch */ color: oklch(54.3% 0.087 101.6);
Tailwind
colors: {
  custom: {
    50: '#a3996a',
    500: '#7a712f',
    950: '#000000',
  },
}
SCSS
$custom: #7a712f;
$custom-light: #a3996a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a712f",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 52.8,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.08737,
    "h": 101.6
  },
  "luminance": 0.16153
}

Semantic roles & 50–950 ramp

primary
#7A712F
secondary
#5C65A9
accent
#63D454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #7A712F

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

Preview Lab → · Contrast checker → · Palette generator →

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