#7C7232#7C7232

#7C7232 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.086 H 100.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7C7232
RGBrgb(124, 114, 50)
HSLhsl(52, 43%, 34%)
HSVhsv(52, 60%, 49%)
CMYKcmyk(0%, 8.1%, 59.7%, 51.4%)
CIE-LABlab(47.69, -4.89, 36.21)
CIE-LCHlch(47.69, 36.54, 97.69°)
OKLaboklab(54.74% -0.0156 0.0841)
OKLCHoklch(54.74% 0.086 100.5)
XYZxyz(14.9058, 16.5506, 5.4264)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7232 #323C7C
analogous
#7C4D32 #7C7232 #617C32
triadic
#7C7232 #327C72 #72327C
tetradic
#7C7232 #327C4D #323C7C #7C3261
square
#7C7232 #327C4D #323C7C #7C3261
split-complementary
#7C7232 #32617C #4D327C
monochromatic
#25220F #504A20 #7C7232 #A89A44 #C2B567

Accessibility & contrast

On white

4.87
#7C7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7C7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7232
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7232#FFFFFF#000000##FFFFFF
##7C72321.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2C
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#856A64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c7232;
/* rgb */ color: rgb(124, 114, 50);
/* oklch */ color: oklch(54.7% 0.086 100.5);
Tailwind
colors: {
  custom: {
    50: '#a49a6c',
    500: '#7c7232',
    950: '#000000',
  },
}
SCSS
$custom: #7c7232;
$custom-light: #a49a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7232",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 51.892,
    "s": 42.529,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54737,
    "c": 0.08551,
    "h": 100.5
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#7C7232
secondary
#616AA9
accent
#66D255
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7C7232

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

Preview Lab → · Contrast checker → · Palette generator →

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