#7D6A16#7D6A16

#7D6A16 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.8% C 0.100 H 95.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7D6A16
RGBrgb(125, 106, 22)
HSLhsl(49, 70%, 29%)
HSVhsv(49, 82%, 49%)
CMYKcmyk(0%, 15.2%, 82.4%, 51%)
CIE-LABlab(45.26, -1.52, 46.05)
CIE-LCHlch(45.26, 46.07, 91.89°)
OKLaboklab(52.76% -0.0094 0.0998)
OKLCHoklch(52.76% 0.1 95.4)
XYZxyz(13.7571, 14.7268, 2.8768)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6A16 #16297D
analogous
#7D3716 #7D6A16 #5D7D16
triadic
#7D6A16 #167D6A #6A167D
tetradic
#7D6A16 #167D37 #16297D #7D165D
square
#7D6A16 #167D37 #16297D #7D165D
split-complementary
#7D6A16 #165D7D #37167D
monochromatic
#1A1605 #493E0D #7D6A16 #B1961F #DBBC32

Accessibility & contrast

On white

5.32
#7D6A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7D6A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6A16
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6A16#FFFFFF#000000##FFFFFF
##7D6A161.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766802
Deuteranopia (green-blind)
#7B6E1C
Tritanopia (blue-blind)
#88615A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d6a16;
/* rgb */ color: rgb(125, 106, 22);
/* oklch */ color: oklch(52.8% 0.100 95.4);
Tailwind
colors: {
  custom: {
    50: '#a6945b',
    500: '#7d6a16',
    950: '#000000',
  },
}
SCSS
$custom: #7d6a16;
$custom-light: #a6945b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6a16",
  "rgb": {
    "r": 125,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 48.932,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52761,
    "c": 0.10029,
    "h": 95.4
  },
  "luminance": 0.14726
}

Semantic roles & 50–950 ramp

primary
#7D6A16
secondary
#3D52B2
accent
#5CED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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