#7D7221#7D7221

#7D7221 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.100 H 101.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D7221
RGBrgb(125, 114, 33)
HSLhsl(53, 58%, 31%)
HSVhsv(53, 74%, 49%)
CMYKcmyk(0%, 8.8%, 73.6%, 51%)
CIE-LABlab(47.63, -5.58, 44.08)
CIE-LCHlch(47.63, 44.43, 97.21°)
OKLaboklab(54.66% -0.0197 0.098)
OKLCHoklch(54.66% 0.1 101.4)
XYZxyz(14.7499, 16.5051, 3.8474)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7221 #212C7D
analogous
#7D4421 #7D7221 #5A7D21
triadic
#7D7221 #217D72 #72217D
tetradic
#7D7221 #217D44 #212C7D #7D215A
square
#7D7221 #217D44 #212C7D #7D215A
split-complementary
#7D7221 #215A7D #44217D
monochromatic
#1C1A07 #4D4614 #7D7221 #AD9E2E #CFBF49

Accessibility & contrast

On white

4.88
#7D7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7D7221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7221
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7221#FFFFFF#000000##FFFFFF
##7D72211.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E14
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#876A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7221;
/* rgb */ color: rgb(125, 114, 33);
/* oklch */ color: oklch(54.7% 0.100 101.4);
Tailwind
colors: {
  custom: {
    50: '#a69a62',
    500: '#7d7221',
    950: '#000000',
  },
}
SCSS
$custom: #7d7221;
$custom-light: #a69a62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7221",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 52.826,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.09993,
    "h": 101.4
  },
  "luminance": 0.16504
}

Semantic roles & 50–950 ramp

primary
#7D7221
secondary
#4A56B0
accent
#59E146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7221

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

Preview Lab → · Contrast checker → · Palette generator →

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