#7A711F#7A711F

#7A711F is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.101 H 102.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7A711F
RGBrgb(122, 113, 31)
HSLhsl(54, 59%, 30%)
HSVhsv(54, 75%, 48%)
CMYKcmyk(0%, 7.4%, 74.6%, 52.2%)
CIE-LABlab(47.04, -6.53, 44.22)
CIE-LCHlch(47.04, 44.70, 98.40°)
OKLaboklab(54.12% -0.0225 0.098)
OKLCHoklch(54.12% 0.101 102.9)
XYZxyz(14.1791, 16.0474, 3.6466)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A711F #1F287A
analogous
#7A441F #7A711F #557A1F
triadic
#7A711F #1F7A71 #711F7A
tetradic
#7A711F #1F7A44 #1F287A #7A1F55
square
#7A711F #1F7A44 #1F287A #7A1F55
split-complementary
#7A711F #1F557A #441F7A
monochromatic
#181706 #494413 #7A711F #AB9E2B #CFC244

Accessibility & contrast

On white

4.99
#7A711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7A711F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A711F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A711F#FFFFFF#000000##FFFFFF
##7A711F1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D11
Deuteranopia (green-blind)
#7F7124
Tritanopia (blue-blind)
#846961
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a711f;
/* rgb */ color: rgb(122, 113, 31);
/* oklch */ color: oklch(54.1% 0.101 102.9);
Tailwind
colors: {
  custom: {
    50: '#a39961',
    500: '#7a711f',
    950: '#000000',
  },
}
SCSS
$custom: #7a711f;
$custom-light: #a39961;
$custom-dark: #000000;
JSON
{
  "hex": "#7a711f",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 54.066,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.54119,
    "c": 0.10052,
    "h": 102.9
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#7A711F
secondary
#4752AD
accent
#55E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A711F

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

Preview Lab → · Contrast checker → · Palette generator →

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