#7D7216#7D7216

#7D7216 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.6% C 0.107 H 102.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7D7216
RGBrgb(125, 114, 22)
HSLhsl(54, 70%, 29%)
HSVhsv(54, 82%, 49%)
CMYKcmyk(0%, 8.8%, 82.4%, 51%)
CIE-LABlab(47.56, -6.08, 48.10)
CIE-LCHlch(47.56, 48.48, 97.20°)
OKLaboklab(54.59% -0.0223 0.1043)
OKLCHoklch(54.59% 0.107 102.1)
XYZxyz(14.6203, 16.4532, 3.1646)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7216 #16217D
analogous
#7D3F16 #7D7216 #557D16
triadic
#7D7216 #167D72 #72167D
tetradic
#7D7216 #167D3F #16217D #7D1655
square
#7D7216 #167D3F #16217D #7D1655
split-complementary
#7D7216 #16557D #3F167D
monochromatic
#1A1805 #49430D #7D7216 #B1A11F #DBC932

Accessibility & contrast

On white

4.89
#7D7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7D7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7216
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7216#FFFFFF#000000##FFFFFF
##7D72161.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#81731D
Tritanopia (blue-blind)
#876961
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7216;
/* rgb */ color: rgb(125, 114, 22);
/* oklch */ color: oklch(54.6% 0.107 102.1);
Tailwind
colors: {
  custom: {
    50: '#a69a5d',
    500: '#7d7216',
    950: '#000000',
  },
}
SCSS
$custom: #7d7216;
$custom-light: #a69a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7216",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 53.592,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54589,
    "c": 0.10662,
    "h": 102.1
  },
  "luminance": 0.16453
}

Semantic roles & 50–950 ramp

primary
#7D7216
secondary
#3D49B2
accent
#4EED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7D7216

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

Preview Lab → · Contrast checker → · Palette generator →

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