#7D6B16#7D6B16

#7D6B16 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 53.0% C 0.101 H 96.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7D6B16
RGBrgb(125, 107, 22)
HSLhsl(50, 70%, 29%)
HSVhsv(50, 82%, 49%)
CMYKcmyk(0%, 14.4%, 82.4%, 51%)
CIE-LABlab(45.54, -2.10, 46.30)
CIE-LCHlch(45.54, 46.35, 92.59°)
OKLaboklab(52.99% -0.0111 0.1004)
OKLCHoklch(52.99% 0.101 96.3)
XYZxyz(13.8607, 14.9341, 2.9114)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6B16 #16287D
analogous
#7D3816 #7D6B16 #5C7D16
triadic
#7D6B16 #167D6B #6B167D
tetradic
#7D6B16 #167D38 #16287D #7D165C
square
#7D6B16 #167D38 #16287D #7D165C
split-complementary
#7D6B16 #165C7D #38167D
monochromatic
#1A1605 #493E0D #7D6B16 #B1981F #DBBE32

Accessibility & contrast

On white

5.27
#7D6B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7D6B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6B16
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6B16#FFFFFF#000000##FFFFFF
##7D6B161.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776902
Deuteranopia (green-blind)
#7C6E1C
Tritanopia (blue-blind)
#88625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d6b16;
/* rgb */ color: rgb(125, 107, 22);
/* oklch */ color: oklch(53.0% 0.101 96.3);
Tailwind
colors: {
  custom: {
    50: '#a6955c',
    500: '#7d6b16',
    950: '#000000',
  },
}
SCSS
$custom: #7d6b16;
$custom-light: #a6955c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6b16",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 49.515,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52988,
    "c": 0.101,
    "h": 96.3
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#7D6B16
secondary
#3D51B2
accent
#5AED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6B16

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

Preview Lab → · Contrast checker → · Palette generator →

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