#7A7256#7A7256

#7A7256 is a mid, muted yellow. Relative luminance 0.168; OKLCH L 55.2% C 0.042 H 94.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7A7256
RGBrgb(122, 114, 86)
HSLhsl(47, 17%, 41%)
HSVhsv(47, 30%, 48%)
CMYKcmyk(0%, 6.6%, 29.5%, 52.2%)
CIE-LABlab(48.06, -1.66, 16.67)
CIE-LCHlch(48.06, 16.76, 95.68°)
OKLaboklab(55.17% -0.003 0.0421)
OKLCHoklch(55.17% 0.042 94)
XYZxyz(15.7232, 16.8445, 11.2253)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7256 #565E7A
analogous
#7A6056 #7A7256 #707A56
triadic
#7A7256 #567A72 #72567A
tetradic
#7A7256 #567A60 #565E7A #7A5670
square
#7A7256 #567A60 #565E7A #7A5670
split-complementary
#7A7256 #56707A #60567A
monochromatic
#322F23 #56503D #7A7256 #9B9272 #B5AE96

Accessibility & contrast

On white

4.81
#7A7256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7A7256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7256
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7256#FFFFFF#000000##FFFFFF
##7A72561.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787154
Deuteranopia (green-blind)
#7A7357
Tritanopia (blue-blind)
#806E6A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a7256;
/* rgb */ color: rgb(122, 114, 86);
/* oklch */ color: oklch(55.2% 0.042 94.0);
Tailwind
colors: {
  custom: {
    50: '#a19a85',
    500: '#7a7256',
    950: '#000000',
  },
}
SCSS
$custom: #7a7256;
$custom-light: #a19a85;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7256",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 86
  },
  "hsl": {
    "h": 46.667,
    "s": 17.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55171,
    "c": 0.0422,
    "h": 94
  },
  "luminance": 0.16844
}

Semantic roles & 50–950 ramp

primary
#7A7256
secondary
#898FA3
accent
#7FBA6E
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0B
muted
#7E7E7C

Preview Lab

Preview with #7A7256

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

Preview Lab → · Contrast checker → · Palette generator →

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