#7A6F2F#7A6F2F

#7A6F2F is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.085 H 99.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7A6F2F
RGBrgb(122, 111, 47)
HSLhsl(51, 44%, 33%)
HSVhsv(51, 61%, 48%)
CMYKcmyk(0%, 9%, 61.5%, 52.2%)
CIE-LABlab(46.59, -4.35, 36.43)
CIE-LCHlch(46.59, 36.69, 96.80°)
OKLaboklab(53.81% -0.0143 0.0842)
OKLCHoklch(53.81% 0.085 99.6)
XYZxyz(14.2241, 15.7123, 4.9723)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6F2F #2F3A7A
analogous
#7A492F #7A6F2F #5F7A2F
triadic
#7A6F2F #2F7A6F #6F2F7A
tetradic
#7A6F2F #2F7A49 #2F3A7A #7A2F5F
square
#7A6F2F #2F7A49 #2F3A7A #7A2F5F
split-complementary
#7A6F2F #2F5F7A #492F7A
monochromatic
#221F0D #4E471E #7A6F2F #A69740 #C2B461

Accessibility & contrast

On white

5.07
#7A6F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7A6F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6F2F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6F2F#FFFFFF#000000##FFFFFF
##7A6F2F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C28
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#836761
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6f2f;
/* rgb */ color: rgb(122, 111, 47);
/* oklch */ color: oklch(53.8% 0.085 99.6);
Tailwind
colors: {
  custom: {
    50: '#a3986a',
    500: '#7a6f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7a6f2f;
$custom-light: #a3986a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6f2f",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 51.2,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53813,
    "c": 0.08541,
    "h": 99.6
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#7A6F2F
secondary
#5C67A9
accent
#67D454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7A6F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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