#7C6D2D#7C6D2D

#7C6D2D is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.086 H 96.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7C6D2D
RGBrgb(124, 109, 45)
HSLhsl(49, 47%, 33%)
HSVhsv(49, 64%, 49%)
CMYKcmyk(0%, 12.1%, 63.7%, 51.4%)
CIE-LABlab(46.19, -2.43, 37.04)
CIE-LCHlch(46.19, 37.12, 93.75°)
OKLaboklab(53.54% -0.0092 0.0852)
OKLCHoklch(53.54% 0.086 96.2)
XYZxyz(14.2551, 15.4125, 4.7062)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6D2D #2D3C7C
analogous
#7C452D #7C6D2D #637C2D
triadic
#7C6D2D #2D7C6D #6D2D7C
tetradic
#7C6D2D #2D7C45 #2D3C7C #7C2D63
square
#7C6D2D #2D7C45 #2D3C7C #7C2D63
split-complementary
#7C6D2D #2D637C #452D7C
monochromatic
#221E0C #4F461D #7C6D2D #A9943D #C5B15F

Accessibility & contrast

On white

5.14
#7C6D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7C6D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6D2D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6D2D#FFFFFF#000000##FFFFFF
##7C6D2D1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B26
Deuteranopia (green-blind)
#7B7030
Tritanopia (blue-blind)
#86655F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c6d2d;
/* rgb */ color: rgb(124, 109, 45);
/* oklch */ color: oklch(53.5% 0.086 96.2);
Tailwind
colors: {
  custom: {
    50: '#a49669',
    500: '#7c6d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c6d2d;
$custom-light: #a49669;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6d2d",
  "rgb": {
    "r": 124,
    "g": 109,
    "b": 45
  },
  "hsl": {
    "h": 48.608,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53535,
    "c": 0.08566,
    "h": 96.2
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#7C6D2D
secondary
#5A69AB
accent
#6BD651
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7C6D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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