#7D772D#7D772D

#7D772D is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.9% C 0.095 H 104.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7D772D
RGBrgb(125, 119, 45)
HSLhsl(56, 47%, 33%)
HSVhsv(56, 64%, 49%)
CMYKcmyk(0%, 4.8%, 64%, 51%)
CIE-LABlab(49.18, -7.63, 40.34)
CIE-LCHlch(49.18, 41.06, 100.70°)
OKLaboklab(55.93% -0.0241 0.0922)
OKLCHoklch(55.93% 0.095 104.7)
XYZxyz(15.5285, 17.7436, 5.0890)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D772D #2D337D
analogous
#7D4F2D #7D772D #5B7D2D
triadic
#7D772D #2D7D77 #772D7D
tetradic
#7D772D #2D7D4F #2D337D #7D2D5B
square
#7D772D #2D7D4F #2D337D #7D2D5B
split-complementary
#7D772D #2D5B7D #4F2D7D
monochromatic
#23210D #504C1D #7D772D #AAA23D #C5BE5F

Accessibility & contrast

On white

4.62
#7D772D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7D772D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D772D
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D772D#FFFFFF#000000##FFFFFF
##7D772D1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#866F67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d772d;
/* rgb */ color: rgb(125, 119, 45);
/* oklch */ color: oklch(55.9% 0.095 104.7);
Tailwind
colors: {
  custom: {
    50: '#a59e69',
    500: '#7d772d',
    950: '#000000',
  },
}
SCSS
$custom: #7d772d;
$custom-light: #a59e69;
$custom-dark: #000000;
JSON
{
  "hex": "#7d772d",
  "rgb": {
    "r": 125,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 55.5,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5593,
    "c": 0.09527,
    "h": 104.7
  },
  "luminance": 0.17743
}

Semantic roles & 50–950 ramp

primary
#7D772D
secondary
#5A60AC
accent
#5BD751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D772D

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

Preview Lab → · Contrast checker → · Palette generator →

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