#7A6712#7A6712

#7A6712 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.7% C 0.100 H 95.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7A6712
RGBrgb(122, 103, 18)
HSLhsl(49, 74%, 27%)
HSVhsv(49, 85%, 48%)
CMYKcmyk(0%, 15.6%, 85.2%, 52.2%)
CIE-LABlab(44.06, -1.37, 46.21)
CIE-LCHlch(44.06, 46.23, 91.70°)
OKLaboklab(51.74% -0.0092 0.0995)
OKLCHoklch(51.74% 0.1 95.3)
XYZxyz(12.9862, 13.8825, 2.5677)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6712 #12257A
analogous
#7A3312 #7A6712 #597A12
triadic
#7A6712 #127A67 #67127A
tetradic
#7A6712 #127A33 #12257A #7A1259
square
#7A6712 #127A33 #12257A #7A1259
split-complementary
#7A6712 #12597A #33127A
monochromatic
#1B1704 #453A0A #7A6712 #AF941A #DFBE27

Accessibility & contrast

On white

5.56
#7A6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7A6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6712
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6712#FFFFFF#000000##FFFFFF
##7A67121.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#786B18
Tritanopia (blue-blind)
#855E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a6712;
/* rgb */ color: rgb(122, 103, 18);
/* oklch */ color: oklch(51.7% 0.100 95.3);
Tailwind
colors: {
  custom: {
    50: '#a49259',
    500: '#7a6712',
    950: '#000000',
  },
}
SCSS
$custom: #7a6712;
$custom-light: #a49259;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6712",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 49.038,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.09989,
    "h": 95.3
  },
  "luminance": 0.13882
}

Semantic roles & 50–950 ramp

primary
#7A6712
secondary
#384EB0
accent
#59F137
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6712

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

Preview Lab → · Contrast checker → · Palette generator →

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