#7C7420#7C7420

#7C7420 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.0% C 0.103 H 103.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7C7420
RGBrgb(124, 116, 32)
HSLhsl(55, 59%, 31%)
HSVhsv(55, 74%, 49%)
CMYKcmyk(0%, 6.5%, 74.2%, 51.4%)
CIE-LABlab(48.11, -7.22, 44.92)
CIE-LCHlch(48.11, 45.50, 99.14°)
OKLaboklab(55.02% -0.0244 0.0996)
OKLCHoklch(55.02% 0.103 103.8)
XYZxyz(14.8189, 16.8808, 3.8439)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7420 #20287C
analogous
#7C4620 #7C7420 #567C20
triadic
#7C7420 #207C74 #74207C
tetradic
#7C7420 #207C46 #20287C #7C2056
square
#7C7420 #207C46 #20287C #7C2056
split-complementary
#7C7420 #20567C #46207C
monochromatic
#1B1907 #4B4613 #7C7420 #ADA22D #CFC447

Accessibility & contrast

On white

4.80
#7C7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7C7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7420
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7420#FFFFFF#000000##FFFFFF
##7C74201.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7012
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#866C63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c7420;
/* rgb */ color: rgb(124, 116, 32);
/* oklch */ color: oklch(55.0% 0.103 103.8);
Tailwind
colors: {
  custom: {
    50: '#a59b62',
    500: '#7c7420',
    950: '#000000',
  },
}
SCSS
$custom: #7c7420;
$custom-light: #a59b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7420",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 54.783,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55019,
    "c": 0.10255,
    "h": 103.8
  },
  "luminance": 0.1688
}

Semantic roles & 50–950 ramp

primary
#7C7420
secondary
#4952AF
accent
#53E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7C7420

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

Preview Lab → · Contrast checker → · Palette generator →

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