#7C7432#7C7432

#7C7432 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.088 H 102.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7C7432
RGBrgb(124, 116, 50)
HSLhsl(54, 43%, 34%)
HSVhsv(54, 60%, 49%)
CMYKcmyk(0%, 6.5%, 59.7%, 51.4%)
CIE-LABlab(48.27, -6.02, 36.87)
CIE-LCHlch(48.27, 37.35, 99.27°)
OKLaboklab(55.2% -0.0189 0.0855)
OKLCHoklch(55.2% 0.088 102.4)
XYZxyz(15.1338, 17.0067, 5.5024)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7432 #323A7C
analogous
#7C4F32 #7C7432 #5F7C32
triadic
#7C7432 #327C74 #74327C
tetradic
#7C7432 #327C4F #323A7C #7C325F
square
#7C7432 #327C4F #323A7C #7C325F
split-complementary
#7C7432 #325F7C #4F327C
monochromatic
#25220F #504B20 #7C7432 #A89D44 #C2B867

Accessibility & contrast

On white

4.77
#7C7432 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7C7432 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7432
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7432#FFFFFF#000000##FFFFFF
##7C74321.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E702B
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#856D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c7432;
/* rgb */ color: rgb(124, 116, 50);
/* oklch */ color: oklch(55.2% 0.088 102.4);
Tailwind
colors: {
  custom: {
    50: '#a49b6c',
    500: '#7c7432',
    950: '#000000',
  },
}
SCSS
$custom: #7c7432;
$custom-light: #a49b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7432",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 50
  },
  "hsl": {
    "h": 53.514,
    "s": 42.529,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55197,
    "c": 0.08754,
    "h": 102.4
  },
  "luminance": 0.17006
}

Semantic roles & 50–950 ramp

primary
#7C7432
secondary
#6168A9
accent
#63D255
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7C7432

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

Preview Lab → · Contrast checker → · Palette generator →

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