#7A772F#7A772F

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

Color values

HEX#7A772F
RGBrgb(122, 119, 47)
HSLhsl(58, 44%, 33%)
HSVhsv(58, 61%, 48%)
CMYKcmyk(0%, 2.5%, 61.5%, 52.2%)
CIE-LABlab(48.93, -8.85, 39.03)
CIE-LCHlch(48.93, 40.02, 102.78°)
OKLaboklab(55.67% -0.0272 0.0897)
OKLCHoklch(55.67% 0.094 106.8)
XYZxyz(15.1364, 17.5369, 5.2764)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A772F #2F327A
analogous
#7A512F #7A772F #577A2F
triadic
#7A772F #2F7A77 #772F7A
tetradic
#7A772F #2F7A51 #2F327A #7A2F57
square
#7A772F #2F7A51 #2F327A #7A2F57
split-complementary
#7A772F #2F577A #512F7A
monochromatic
#22210D #4E4C1E #7A772F #A6A240 #C2BE61

Accessibility & contrast

On white

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

On black

4.51
#7A772F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A772F#FFFFFF#000000##FFFFFF
##7A772F1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817327
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#837068
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a772f;
/* rgb */ color: rgb(122, 119, 47);
/* oklch */ color: oklch(55.7% 0.094 106.8);
Tailwind
colors: {
  custom: {
    50: '#a39e6b',
    500: '#7a772f',
    950: '#000000',
  },
}
SCSS
$custom: #7a772f;
$custom-light: #a39e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a772f",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 57.6,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55668,
    "c": 0.09376,
    "h": 106.8
  },
  "luminance": 0.17536
}

Semantic roles & 50–950 ramp

primary
#7A772F
secondary
#5C5FA9
accent
#59D454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7A772F

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

Preview Lab → · Contrast checker → · Palette generator →

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