#7A7252#7A7252

#7A7252 is a mid, muted yellow. Relative luminance 0.168; OKLCH L 55.1% C 0.048 H 95.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7A7252
RGBrgb(122, 114, 82)
HSLhsl(48, 20%, 40%)
HSVhsv(48, 33%, 48%)
CMYKcmyk(0%, 6.6%, 32.8%, 52.2%)
CIE-LABlab(47.98, -2.23, 18.89)
CIE-LCHlch(47.98, 19.02, 96.74°)
OKLaboklab(55.08% -0.0048 0.0473)
OKLCHoklch(55.08% 0.048 95.8)
XYZxyz(15.5665, 16.7818, 10.4002)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7252 #525A7A
analogous
#7A5E52 #7A7252 #6E7A52
triadic
#7A7252 #527A72 #72527A
tetradic
#7A7252 #527A5E #525A7A #7A526E
square
#7A7252 #527A5E #525A7A #7A526E
split-complementary
#7A7252 #526E7A #5E527A
monochromatic
#312E21 #555039 #7A7252 #9D936D #B5AE91

Accessibility & contrast

On white

4.82
#7A7252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7A7252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7252
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7252#FFFFFF#000000##FFFFFF
##7A72521.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787050
Deuteranopia (green-blind)
#7B7353
Tritanopia (blue-blind)
#806D6A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a7252;
/* rgb */ color: rgb(122, 114, 82);
/* oklch */ color: oklch(55.1% 0.048 95.8);
Tailwind
colors: {
  custom: {
    50: '#a19a83',
    500: '#7a7252',
    950: '#000000',
  },
}
SCSS
$custom: #7a7252;
$custom-light: #a19a83;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7252",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 48,
    "s": 19.608,
    "l": 40
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.04756,
    "h": 95.8
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#7A7252
secondary
#858BA3
accent
#7CBC6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #7A7252

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

Preview Lab → · Contrast checker → · Palette generator →

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