#7A772B#7A772B

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

Color values

HEX#7A772B
RGBrgb(122, 119, 43)
HSLhsl(58, 48%, 32%)
HSVhsv(58, 65%, 48%)
CMYKcmyk(0%, 2.5%, 64.8%, 52.2%)
CIE-LABlab(48.89, -9.15, 40.88)
CIE-LCHlch(48.89, 41.90, 102.61°)
OKLaboklab(55.63% -0.0285 0.0931)
OKLCHoklch(55.63% 0.097 107)
XYZxyz(15.0594, 17.5061, 4.8708)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A772B #2B2E7A
analogous
#7A502B #7A772B #557A2B
triadic
#7A772B #2B7A77 #772B7A
tetradic
#7A772B #2B7A50 #2B2E7A #7A2B55
square
#7A772B #2B7A50 #2B2E7A #7A2B55
split-complementary
#7A772B #2B557A #502B7A
monochromatic
#1F1F0B #4D4B1B #7A772B #A7A33B #C5C15A

Accessibility & contrast

On white

4.67
#7A772B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A772B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A772B#FFFFFF#000000##FFFFFF
##7A772B1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a772b;
/* rgb */ color: rgb(122, 119, 43);
/* oklch */ color: oklch(55.6% 0.097 107.0);
Tailwind
colors: {
  custom: {
    50: '#a39e68',
    500: '#7a772b',
    950: '#000000',
  },
}
SCSS
$custom: #7a772b;
$custom-light: #a39e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7a772b",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 57.722,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.09733,
    "h": 107
  },
  "luminance": 0.17506
}

Semantic roles & 50–950 ramp

primary
#7A772B
secondary
#5659AB
accent
#55D750
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A772B

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

Preview Lab → · Contrast checker → · Palette generator →

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