#7A7152#7A7152

#7A7152 is a mid, muted yellow. Relative luminance 0.166; OKLCH L 54.9% C 0.047 H 93.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7A7152
RGBrgb(122, 113, 82)
HSLhsl(47, 20%, 40%)
HSVhsv(47, 33%, 48%)
CMYKcmyk(0%, 7.4%, 32.8%, 52.2%)
CIE-LABlab(47.70, -1.66, 18.51)
CIE-LCHlch(47.70, 18.58, 95.11°)
OKLaboklab(54.86% -0.0031 0.0464)
OKLCHoklch(54.86% 0.047 93.8)
XYZxyz(15.4543, 16.5574, 10.3628)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7152 #525B7A
analogous
#7A5D52 #7A7152 #6F7A52
triadic
#7A7152 #527A71 #71527A
tetradic
#7A7152 #527A5D #525B7A #7A526F
square
#7A7152 #527A5D #525B7A #7A526F
split-complementary
#7A7152 #526F7A #5D527A
monochromatic
#312D21 #554F39 #7A7152 #9D926D #B5AD91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7152#FFFFFF#000000##FFFFFF
##7A71521.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)
#787050
Deuteranopia (green-blind)
#7A7253
Tritanopia (blue-blind)
#806C69
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a7152;
/* rgb */ color: rgb(122, 113, 82);
/* oklch */ color: oklch(54.9% 0.047 93.8);
Tailwind
colors: {
  custom: {
    50: '#a19983',
    500: '#7a7152',
    950: '#000000',
  },
}
SCSS
$custom: #7a7152;
$custom-light: #a19983;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7152",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 82
  },
  "hsl": {
    "h": 46.5,
    "s": 19.608,
    "l": 40
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.04651,
    "h": 93.8
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#7A7152
secondary
#858CA3
accent
#7EBC6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #7A7152

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

Preview Lab → · Contrast checker → · Palette generator →

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