#7D7516#7D7516

#7D7516 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.109 H 104.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7D7516
RGBrgb(125, 117, 22)
HSLhsl(55, 70%, 29%)
HSVhsv(55, 82%, 49%)
CMYKcmyk(0%, 6.4%, 82.4%, 51%)
CIE-LABlab(48.44, -7.76, 48.87)
CIE-LCHlch(48.44, 49.49, 99.02°)
OKLaboklab(55.28% -0.027 0.1059)
OKLCHoklch(55.28% 0.109 104.3)
XYZxyz(14.9642, 17.1411, 3.2792)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7516 #161E7D
analogous
#7D4216 #7D7516 #527D16
triadic
#7D7516 #167D75 #75167D
tetradic
#7D7516 #167D42 #161E7D #7D1652
square
#7D7516 #167D42 #161E7D #7D1652
split-complementary
#7D7516 #16527D #42167D
monochromatic
#1A1805 #49440D #7D7516 #B1A61F #DBCE32

Accessibility & contrast

On white

4.74
#7D7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7D7516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7516
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7516#FFFFFF#000000##FFFFFF
##7D75161.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#876C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d7516;
/* rgb */ color: rgb(125, 117, 22);
/* oklch */ color: oklch(55.3% 0.109 104.3);
Tailwind
colors: {
  custom: {
    50: '#a69c5d',
    500: '#7d7516',
    950: '#000000',
  },
}
SCSS
$custom: #7d7516;
$custom-light: #a69c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7516",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 55.34,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55284,
    "c": 0.10931,
    "h": 104.3
  },
  "luminance": 0.1714
}

Semantic roles & 50–950 ramp

primary
#7D7516
secondary
#3D46B2
accent
#49ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7516

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

Preview Lab → · Contrast checker → · Palette generator →

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