#7D7121#7D7121

#7D7121 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.099 H 100.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7D7121
RGBrgb(125, 113, 33)
HSLhsl(52, 58%, 31%)
HSVhsv(52, 74%, 49%)
CMYKcmyk(0%, 9.6%, 73.6%, 51%)
CIE-LABlab(47.34, -5.01, 43.79)
CIE-LCHlch(47.34, 44.08, 96.53°)
OKLaboklab(54.43% -0.0181 0.0974)
OKLCHoklch(54.43% 0.099 100.6)
XYZxyz(14.6378, 16.2807, 3.8100)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7121 #212D7D
analogous
#7D4321 #7D7121 #5B7D21
triadic
#7D7121 #217D71 #71217D
tetradic
#7D7121 #217D43 #212D7D #7D215B
square
#7D7121 #217D43 #212D7D #7D215B
split-complementary
#7D7121 #215B7D #43217D
monochromatic
#1C1907 #4D4514 #7D7121 #AD9D2E #CFBE49

Accessibility & contrast

On white

4.93
#7D7121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7D7121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7121
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7121#FFFFFF#000000##FFFFFF
##7D71211.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#876961
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d7121;
/* rgb */ color: rgb(125, 113, 33);
/* oklch */ color: oklch(54.4% 0.099 100.6);
Tailwind
colors: {
  custom: {
    50: '#a69962',
    500: '#7d7121',
    950: '#000000',
  },
}
SCSS
$custom: #7d7121;
$custom-light: #a69962;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7121",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 52.174,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54434,
    "c": 0.09903,
    "h": 100.6
  },
  "luminance": 0.1628
}

Semantic roles & 50–950 ramp

primary
#7D7121
secondary
#4A57B0
accent
#5BE146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7D7121

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

Preview Lab → · Contrast checker → · Palette generator →

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