#7A772D#7A772D

#7A772D is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.096 H 106.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7A772D
RGBrgb(122, 119, 45)
HSLhsl(58, 46%, 33%)
HSVhsv(58, 63%, 48%)
CMYKcmyk(0%, 2.5%, 63.1%, 52.2%)
CIE-LABlab(48.91, -9.00, 39.97)
CIE-LCHlch(48.91, 40.97, 102.69°)
OKLaboklab(55.65% -0.0278 0.0914)
OKLCHoklch(55.65% 0.096 106.9)
XYZxyz(15.0970, 17.5212, 5.0688)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A772D #2D307A
analogous
#7A502D #7A772D #577A2D
triadic
#7A772D #2D7A77 #772D7A
tetradic
#7A772D #2D7A50 #2D307A #7A2D57
square
#7A772D #2D7A50 #2D307A #7A2D57
split-complementary
#7A772D #2D577A #502D7A
monochromatic
#21200C #4D4B1D #7A772D #A7A33D #C4C05E

Accessibility & contrast

On white

4.66
#7A772D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7A772D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A772D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A772D#FFFFFF#000000##FFFFFF
##7A772D1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#827631
Tritanopia (blue-blind)
#836F67
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a772d;
/* rgb */ color: rgb(122, 119, 45);
/* oklch */ color: oklch(55.6% 0.096 106.9);
Tailwind
colors: {
  custom: {
    50: '#a39e69',
    500: '#7a772d',
    950: '#000000',
  },
}
SCSS
$custom: #7a772d;
$custom-light: #a39e69;
$custom-dark: #000000;
JSON
{
  "hex": "#7a772d",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 57.662,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55646,
    "c": 0.09559,
    "h": 106.9
  },
  "luminance": 0.17521
}

Semantic roles & 50–950 ramp

primary
#7A772D
secondary
#595CAA
accent
#57D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A772D

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

Preview Lab → · Contrast checker → · Palette generator →

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