#7A6F2D#7A6F2D

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

Color values

HEX#7A6F2D
RGBrgb(122, 111, 45)
HSLhsl(51, 46%, 33%)
HSVhsv(51, 63%, 48%)
CMYKcmyk(0%, 9%, 63.1%, 52.2%)
CIE-LABlab(46.57, -4.50, 37.41)
CIE-LCHlch(46.57, 37.68, 96.86°)
OKLaboklab(53.79% -0.015 0.086)
OKLCHoklch(53.79% 0.087 99.9)
XYZxyz(14.1847, 15.6965, 4.7647)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6F2D #2D387A
analogous
#7A492D #7A6F2D #5E7A2D
triadic
#7A6F2D #2D7A6F #6F2D7A
tetradic
#7A6F2D #2D7A49 #2D387A #7A2D5E
square
#7A6F2D #2D7A49 #2D387A #7A2D5E
split-complementary
#7A6F2D #2D5E7A #492D7A
monochromatic
#211E0C #4D461D #7A6F2D #A7983D #C4B55E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A6F2D#FFFFFF#000000##FFFFFF
##7A6F2D1.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)
#796C26
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#836761
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6f2d;
/* rgb */ color: rgb(122, 111, 45);
/* oklch */ color: oklch(53.8% 0.087 99.9);
Tailwind
colors: {
  custom: {
    50: '#a39869',
    500: '#7a6f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7a6f2d;
$custom-light: #a39869;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6f2d",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 51.429,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53789,
    "c": 0.0873,
    "h": 99.9
  },
  "luminance": 0.15696
}

Semantic roles & 50–950 ramp

primary
#7A6F2D
secondary
#5964AA
accent
#65D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7A6F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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