#7D772B#7D772B

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

Color values

HEX#7D772B
RGBrgb(125, 119, 43)
HSLhsl(56, 49%, 33%)
HSVhsv(56, 66%, 49%)
CMYKcmyk(0%, 4.8%, 65.6%, 51%)
CIE-LABlab(49.17, -7.77, 41.26)
CIE-LCHlch(49.17, 41.98, 100.66°)
OKLaboklab(55.91% -0.0248 0.0938)
OKLCHoklch(55.91% 0.097 104.8)
XYZxyz(15.4909, 17.7286, 4.8910)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D772B #2B317D
analogous
#7D4E2B #7D772B #5A7D2B
triadic
#7D772B #2B7D77 #772B7D
tetradic
#7D772B #2B7D4E #2B317D #7D2B5A
square
#7D772B #2B7D4E #2B317D #7D2B5A
split-complementary
#7D772B #2B5A7D #4E2B7D
monochromatic
#22200C #4F4C1B #7D772B #ABA23B #C7BF5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D772B#FFFFFF#000000##FFFFFF
##7D772B1.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)
#817322
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#866F67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d772b;
/* rgb */ color: rgb(125, 119, 43);
/* oklch */ color: oklch(55.9% 0.097 104.8);
Tailwind
colors: {
  custom: {
    50: '#a59e68',
    500: '#7d772b',
    950: '#000000',
  },
}
SCSS
$custom: #7d772b;
$custom-light: #a59e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d772b",
  "rgb": {
    "r": 125,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 55.61,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5591,
    "c": 0.097,
    "h": 104.8
  },
  "luminance": 0.17728
}

Semantic roles & 50–950 ramp

primary
#7D772B
secondary
#575DAD
accent
#59D84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D772B

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

Preview Lab → · Contrast checker → · Palette generator →

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