#7D7321#7D7321

#7D7321 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.101 H 102.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7D7321
RGBrgb(125, 115, 33)
HSLhsl(53, 58%, 31%)
HSVhsv(53, 74%, 49%)
CMYKcmyk(0%, 8%, 73.6%, 51%)
CIE-LABlab(47.92, -6.14, 44.36)
CIE-LCHlch(47.92, 44.79, 97.88°)
OKLaboklab(54.89% -0.0213 0.0986)
OKLCHoklch(54.89% 0.101 102.2)
XYZxyz(14.8633, 16.7319, 3.8852)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7321 #212B7D
analogous
#7D4521 #7D7321 #597D21
triadic
#7D7321 #217D73 #73217D
tetradic
#7D7321 #217D45 #212B7D #7D2159
square
#7D7321 #217D45 #212B7D #7D2159
split-complementary
#7D7321 #21597D #45217D
monochromatic
#1C1A07 #4D4614 #7D7321 #ADA02E #CFC149

Accessibility & contrast

On white

4.83
#7D7321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7D7321 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7321
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7321#FFFFFF#000000##FFFFFF
##7D73211.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F14
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#876B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d7321;
/* rgb */ color: rgb(125, 115, 33);
/* oklch */ color: oklch(54.9% 0.101 102.2);
Tailwind
colors: {
  custom: {
    50: '#a69b62',
    500: '#7d7321',
    950: '#000000',
  },
}
SCSS
$custom: #7d7321;
$custom-light: #a69b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7321",
  "rgb": {
    "r": 125,
    "g": 115,
    "b": 33
  },
  "hsl": {
    "h": 53.478,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54894,
    "c": 0.10084,
    "h": 102.2
  },
  "luminance": 0.16731
}

Semantic roles & 50–950 ramp

primary
#7D7321
secondary
#4A55B0
accent
#57E146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7321

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

Preview Lab → · Contrast checker → · Palette generator →

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