#7A6726#7A6726

#7A6726 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.9% C 0.087 H 92.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7A6726
RGBrgb(122, 103, 38)
HSLhsl(46, 53%, 31%)
HSVhsv(46, 69%, 48%)
CMYKcmyk(0%, 15.6%, 68.9%, 52.2%)
CIE-LABlab(44.20, -0.39, 38.24)
CIE-LCHlch(44.20, 38.24, 90.58°)
OKLaboklab(51.89% -0.0041 0.0867)
OKLCHoklch(51.89% 0.087 92.7)
XYZxyz(13.2268, 13.9787, 3.8348)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6726 #26397A
analogous
#7A3D26 #7A6726 #637A26
triadic
#7A6726 #267A67 #67267A
tetradic
#7A6726 #267A3D #26397A #7A2663
square
#7A6726 #267A3D #26397A #7A2663
split-complementary
#7A6726 #26637A #3D267A
monochromatic
#1D1809 #4B4017 #7A6726 #A98E35 #C9AE51

Accessibility & contrast

On white

5.53
#7A6726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7A6726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6726
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6726#FFFFFF#000000##FFFFFF
##7A67261.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651E
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#845F59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a6726;
/* rgb */ color: rgb(122, 103, 38);
/* oklch */ color: oklch(51.9% 0.087 92.7);
Tailwind
colors: {
  custom: {
    50: '#a39264',
    500: '#7a6726',
    950: '#000000',
  },
}
SCSS
$custom: #7a6726;
$custom-light: #a39264;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6726",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 38
  },
  "hsl": {
    "h": 46.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.08675,
    "h": 92.7
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#7A6726
secondary
#5065AC
accent
#6CDC4C
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C05
muted
#7F7D7A

Preview Lab

Preview with #7A6726

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

Preview Lab → · Contrast checker → · Palette generator →

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