#7C7121#7C7121

#7C7121 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.3% C 0.099 H 101.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7C7121
RGBrgb(124, 113, 33)
HSLhsl(53, 58%, 31%)
HSVhsv(53, 73%, 49%)
CMYKcmyk(0%, 8.9%, 73.4%, 51.4%)
CIE-LABlab(47.24, -5.48, 43.66)
CIE-LCHlch(47.24, 44.01, 97.16°)
OKLaboklab(54.33% -0.0194 0.0971)
OKLCHoklch(54.33% 0.099 101.3)
XYZxyz(14.4925, 16.2058, 3.8032)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7121 #212C7C
analogous
#7C4321 #7C7121 #597C21
triadic
#7C7121 #217C71 #71217C
tetradic
#7C7121 #217C43 #212C7C #7C2159
square
#7C7121 #217C43 #212C7C #7C2159
split-complementary
#7C7121 #21597C #43217C
monochromatic
#1B1907 #4C4514 #7C7121 #AC9D2E #CFBE49

Accessibility & contrast

On white

4.95
#7C7121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7C7121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7121
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7121#FFFFFF#000000##FFFFFF
##7C71211.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c7121;
/* rgb */ color: rgb(124, 113, 33);
/* oklch */ color: oklch(54.3% 0.099 101.3);
Tailwind
colors: {
  custom: {
    50: '#a59962',
    500: '#7c7121',
    950: '#000000',
  },
}
SCSS
$custom: #7c7121;
$custom-light: #a59962;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7121",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 52.747,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54333,
    "c": 0.09904,
    "h": 101.3
  },
  "luminance": 0.16205
}

Semantic roles & 50–950 ramp

primary
#7C7121
secondary
#4A56AF
accent
#59E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7C7121

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

Preview Lab → · Contrast checker → · Palette generator →

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