#7C6C16#7C6C16

#7C6C16 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.1% C 0.102 H 97.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7C6C16
RGBrgb(124, 108, 22)
HSLhsl(51, 70%, 29%)
HSVhsv(51, 82%, 49%)
CMYKcmyk(0%, 12.9%, 82.3%, 51.4%)
CIE-LABlab(45.73, -3.15, 46.43)
CIE-LCHlch(45.73, 46.54, 93.88°)
OKLaboklab(53.11% -0.014 0.1007)
OKLCHoklch(53.11% 0.102 97.9)
XYZxyz(13.8203, 15.0689, 2.9395)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6C16 #16267C
analogous
#7C3916 #7C6C16 #597C16
triadic
#7C6C16 #167C6C #6C167C
tetradic
#7C6C16 #167C39 #16267C #7C1659
square
#7C6C16 #167C39 #16267C #7C1659
split-complementary
#7C6C16 #16597C #39167C
monochromatic
#1A1705 #483F0D #7C6C16 #B0991F #DBC032

Accessibility & contrast

On white

5.23
#7C6C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7C6C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6C16
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6C16#FFFFFF#000000##FFFFFF
##7C6C161.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786901
Deuteranopia (green-blind)
#7C6F1C
Tritanopia (blue-blind)
#86635C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c6c16;
/* rgb */ color: rgb(124, 108, 22);
/* oklch */ color: oklch(53.1% 0.102 97.9);
Tailwind
colors: {
  custom: {
    50: '#a6955c',
    500: '#7c6c16',
    950: '#000000',
  },
}
SCSS
$custom: #7c6c16;
$custom-light: #a6955c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6c16",
  "rgb": {
    "r": 124,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 50.588,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5311,
    "c": 0.10169,
    "h": 97.9
  },
  "luminance": 0.15068
}

Semantic roles & 50–950 ramp

primary
#7C6C16
secondary
#3D4FB1
accent
#57ED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6C16

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

Preview Lab → · Contrast checker → · Palette generator →

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