#7C7220#7C7220

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

Color values

HEX#7C7220
RGBrgb(124, 114, 32)
HSLhsl(53, 59%, 31%)
HSVhsv(53, 74%, 49%)
CMYKcmyk(0%, 8.1%, 74.2%, 51.4%)
CIE-LABlab(47.53, -6.10, 44.35)
CIE-LCHlch(47.53, 44.77, 97.83°)
OKLaboklab(54.56% -0.0213 0.0984)
OKLCHoklch(54.56% 0.101 102.2)
XYZxyz(14.5908, 16.4246, 3.7679)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7220 #202A7C
analogous
#7C4420 #7C7220 #587C20
triadic
#7C7220 #207C72 #72207C
tetradic
#7C7220 #207C44 #202A7C #7C2058
square
#7C7220 #207C44 #202A7C #7C2058
split-complementary
#7C7220 #20587C #44207C
monochromatic
#1B1907 #4B4513 #7C7220 #AD9F2D #CFC147

Accessibility & contrast

On white

4.90
#7C7220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7C7220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7220
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7220#FFFFFF#000000##FFFFFF
##7C72201.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E13
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#866A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c7220;
/* rgb */ color: rgb(124, 114, 32);
/* oklch */ color: oklch(54.6% 0.101 102.2);
Tailwind
colors: {
  custom: {
    50: '#a59a61',
    500: '#7c7220',
    950: '#000000',
  },
}
SCSS
$custom: #7c7220;
$custom-light: #a59a61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7220",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 53.478,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54556,
    "c": 0.10066,
    "h": 102.2
  },
  "luminance": 0.16424
}

Semantic roles & 50–950 ramp

primary
#7C7220
secondary
#4954AF
accent
#57E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7C7220

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

Preview Lab → · Contrast checker → · Palette generator →

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