#7C6D16#7C6D16

#7C6D16 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.3% C 0.102 H 98.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7C6D16
RGBrgb(124, 109, 22)
HSLhsl(51, 70%, 29%)
HSVhsv(51, 82%, 49%)
CMYKcmyk(0%, 12.1%, 82.3%, 51.4%)
CIE-LABlab(46.02, -3.72, 46.69)
CIE-LCHlch(46.02, 46.84, 94.55°)
OKLaboklab(53.34% -0.0156 0.1013)
OKLCHoklch(53.34% 0.102 98.8)
XYZxyz(13.9264, 15.2810, 2.9749)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6D16 #16257C
analogous
#7C3A16 #7C6D16 #587C16
triadic
#7C6D16 #167C6D #6D167C
tetradic
#7C6D16 #167C3A #16257C #7C1658
square
#7C6D16 #167C3A #16257C #7C1658
split-complementary
#7C6D16 #16587C #3A167C
monochromatic
#1A1705 #483F0D #7C6D16 #B09B1F #DBC232

Accessibility & contrast

On white

5.18
#7C6D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7C6D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6D16
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6D16#FFFFFF#000000##FFFFFF
##7C6D161.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#7D6F1D
Tritanopia (blue-blind)
#86645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c6d16;
/* rgb */ color: rgb(124, 109, 22);
/* oklch */ color: oklch(53.3% 0.102 98.8);
Tailwind
colors: {
  custom: {
    50: '#a6965c',
    500: '#7c6d16',
    950: '#000000',
  },
}
SCSS
$custom: #7c6d16;
$custom-light: #a6965c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6d16",
  "rgb": {
    "r": 124,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 51.176,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53338,
    "c": 0.10246,
    "h": 98.8
  },
  "luminance": 0.1528
}

Semantic roles & 50–950 ramp

primary
#7C6D16
secondary
#3D4EB1
accent
#55ED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6D16

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

Preview Lab → · Contrast checker → · Palette generator →

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