#7A7351#7A7351

#7A7351 is a mid, muted yellow. Relative luminance 0.170; OKLCH L 55.3% C 0.050 H 97.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7A7351
RGBrgb(122, 115, 81)
HSLhsl(50, 20%, 40%)
HSVhsv(50, 34%, 48%)
CMYKcmyk(0%, 5.7%, 33.6%, 52.2%)
CIE-LABlab(48.25, -2.94, 19.83)
CIE-LCHlch(48.25, 20.05, 98.45°)
OKLaboklab(55.29% -0.0069 0.0495)
OKLCHoklch(55.29% 0.05 97.9)
XYZxyz(15.6421, 16.9935, 10.2391)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7351 #51587A
analogous
#7A5F51 #7A7351 #6D7A51
triadic
#7A7351 #517A73 #73517A
tetradic
#7A7351 #517A5F #51587A #7A516D
square
#7A7351 #517A5F #51587A #7A516D
split-complementary
#7A7351 #516D7A #5F517A
monochromatic
#302E20 #555039 #7A7351 #9D946B #B5AF90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7351#FFFFFF#000000##FFFFFF
##7A73511.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)
#7A714F
Deuteranopia (green-blind)
#7C7452
Tritanopia (blue-blind)
#806E6A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a7351;
/* rgb */ color: rgb(122, 115, 81);
/* oklch */ color: oklch(55.3% 0.050 97.9);
Tailwind
colors: {
  custom: {
    50: '#a19b82',
    500: '#7a7351',
    950: '#000000',
  },
}
SCSS
$custom: #7a7351;
$custom-light: #a19b82;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7351",
  "rgb": {
    "r": 122,
    "g": 115,
    "b": 81
  },
  "hsl": {
    "h": 49.756,
    "s": 20.197,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55288,
    "c": 0.04999,
    "h": 97.9
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#7A7351
secondary
#8489A3
accent
#79BD6B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #7A7351

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

Preview Lab → · Contrast checker → · Palette generator →

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