#7A6F37#7A6F37

#7A6F37 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.077 H 98.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7A6F37
RGBrgb(122, 111, 55)
HSLhsl(50, 38%, 35%)
HSVhsv(50, 55%, 48%)
CMYKcmyk(0%, 9%, 54.9%, 52.2%)
CIE-LABlab(46.69, -3.66, 32.39)
CIE-LCHlch(46.69, 32.60, 96.44°)
OKLaboklab(53.92% -0.0113 0.0764)
OKLCHoklch(53.92% 0.077 98.4)
XYZxyz(14.4005, 15.7829, 5.9015)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6F37 #37427A
analogous
#7A4E37 #7A6F37 #647A37
triadic
#7A6F37 #377A6F #6F377A
tetradic
#7A6F37 #377A4E #37427A #7A3764
square
#7A6F37 #377A4E #37427A #7A3764
split-complementary
#7A6F37 #37647A #4E377A
monochromatic
#262211 #504924 #7A6F37 #A4954A #BEB06E

Accessibility & contrast

On white

5.05
#7A6F37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7A6F37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6F37
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6F37#FFFFFF#000000##FFFFFF
##7A6F371.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C32
Deuteranopia (green-blind)
#7B7039
Tritanopia (blue-blind)
#836862
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a6f37;
/* rgb */ color: rgb(122, 111, 55);
/* oklch */ color: oklch(53.9% 0.077 98.4);
Tailwind
colors: {
  custom: {
    50: '#a2986f',
    500: '#7a6f37',
    950: '#000000',
  },
}
SCSS
$custom: #7a6f37;
$custom-light: #a2986f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6f37",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 55
  },
  "hsl": {
    "h": 50.149,
    "s": 37.853,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.07728,
    "h": 98.4
  },
  "luminance": 0.15782
}

Semantic roles & 50–950 ramp

primary
#7A6F37
secondary
#6671A6
accent
#6DCE5A
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #7A6F37

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

Preview Lab → · Contrast checker → · Palette generator →

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