#7D6C16#7D6C16

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

Color values

HEX#7D6C16
RGBrgb(125, 108, 22)
HSLhsl(50, 70%, 29%)
HSVhsv(50, 82%, 49%)
CMYKcmyk(0%, 13.6%, 82.4%, 51%)
CIE-LABlab(45.83, -2.67, 46.56)
CIE-LCHlch(45.83, 46.64, 93.28°)
OKLaboklab(53.22% -0.0127 0.1009)
OKLCHoklch(53.22% 0.102 97.2)
XYZxyz(13.9656, 15.1438, 2.9463)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6C16 #16277D
analogous
#7D3916 #7D6C16 #5B7D16
triadic
#7D6C16 #167D6C #6C167D
tetradic
#7D6C16 #167D39 #16277D #7D165B
square
#7D6C16 #167D39 #16277D #7D165B
split-complementary
#7D6C16 #165B7D #39167D
monochromatic
#1A1605 #493F0D #7D6C16 #B1991F #DBBF32

Accessibility & contrast

On white

5.21
#7D6C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7D6C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6C16
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6C16#FFFFFF#000000##FFFFFF
##7D6C161.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d6c16;
/* rgb */ color: rgb(125, 108, 22);
/* oklch */ color: oklch(53.2% 0.102 97.2);
Tailwind
colors: {
  custom: {
    50: '#a6955c',
    500: '#7d6c16',
    950: '#000000',
  },
}
SCSS
$custom: #7d6c16;
$custom-light: #a6955c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6c16",
  "rgb": {
    "r": 125,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 50.097,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.10173,
    "h": 97.2
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

primary
#7D6C16
secondary
#3D50B2
accent
#58ED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6C16

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

Preview Lab → · Contrast checker → · Palette generator →

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