#7D772C#7D772C

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

Color values

HEX#7D772C
RGBrgb(125, 119, 44)
HSLhsl(56, 48%, 33%)
HSVhsv(56, 65%, 49%)
CMYKcmyk(0%, 4.8%, 64.8%, 51%)
CIE-LABlab(49.17, -7.70, 40.80)
CIE-LCHlch(49.17, 41.52, 100.68°)
OKLaboklab(55.92% -0.0245 0.093)
OKLCHoklch(55.92% 0.096 104.7)
XYZxyz(15.5095, 17.7360, 4.9888)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D772C #2C327D
analogous
#7D4E2C #7D772C #5A7D2C
triadic
#7D772C #2C7D77 #772C7D
tetradic
#7D772C #2C7D4E #2C327D #7D2C5A
square
#7D772C #2C7D4E #2C327D #7D2C5A
split-complementary
#7D772C #2C5A7D #4E2C7D
monochromatic
#22210C #504C1C #7D772C #AAA23C #C6BE5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D772C#FFFFFF#000000##FFFFFF
##7D772C1.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)
#817323
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#866F67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d772c;
/* rgb */ color: rgb(125, 119, 44);
/* oklch */ color: oklch(55.9% 0.096 104.7);
Tailwind
colors: {
  custom: {
    50: '#a59e69',
    500: '#7d772c',
    950: '#000000',
  },
}
SCSS
$custom: #7d772c;
$custom-light: #a59e69;
$custom-dark: #000000;
JSON
{
  "hex": "#7d772c",
  "rgb": {
    "r": 125,
    "g": 119,
    "b": 44
  },
  "hsl": {
    "h": 55.556,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.09614,
    "h": 104.7
  },
  "luminance": 0.17735
}

Semantic roles & 50–950 ramp

primary
#7D772C
secondary
#595FAC
accent
#5AD850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D772C

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

Preview Lab → · Contrast checker → · Palette generator →

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