#7D6D16#7D6D16

#7D6D16 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.4% C 0.102 H 98.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7D6D16
RGBrgb(125, 109, 22)
HSLhsl(51, 70%, 29%)
HSVhsv(51, 82%, 49%)
CMYKcmyk(0%, 12.8%, 82.4%, 51%)
CIE-LABlab(46.12, -3.24, 46.82)
CIE-LCHlch(46.12, 46.93, 93.96°)
OKLaboklab(53.44% -0.0143 0.1015)
OKLCHoklch(53.44% 0.102 98)
XYZxyz(14.0716, 15.3559, 2.9817)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6D16 #16267D
analogous
#7D3A16 #7D6D16 #5A7D16
triadic
#7D6D16 #167D6D #6D167D
tetradic
#7D6D16 #167D3A #16267D #7D165A
square
#7D6D16 #167D3A #16267D #7D165A
split-complementary
#7D6D16 #165A7D #3A167D
monochromatic
#1A1705 #49400D #7D6D16 #B19A1F #DBC132

Accessibility & contrast

On white

5.16
#7D6D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7D6D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6D16
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6D16#FFFFFF#000000##FFFFFF
##7D6D161.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d6d16;
/* rgb */ color: rgb(125, 109, 22);
/* oklch */ color: oklch(53.4% 0.102 98.0);
Tailwind
colors: {
  custom: {
    50: '#a6965c',
    500: '#7d6d16',
    950: '#000000',
  },
}
SCSS
$custom: #7d6d16;
$custom-light: #a6965c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6d16",
  "rgb": {
    "r": 125,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 50.68,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53442,
    "c": 0.10249,
    "h": 98
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D6D16

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

Preview Lab → · Contrast checker → · Palette generator →

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