#7D7720#7D7720

#7D7720 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.105 H 105.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7D7720
RGBrgb(125, 119, 32)
HSLhsl(56, 59%, 31%)
HSVhsv(56, 74%, 49%)
CMYKcmyk(0%, 4.8%, 74.4%, 51%)
CIE-LABlab(49.08, -8.43, 45.90)
CIE-LCHlch(49.08, 46.67, 100.41°)
OKLaboklab(55.81% -0.0279 0.1016)
OKLCHoklch(55.81% 0.105 105.4)
XYZxyz(15.3156, 17.6585, 3.9679)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7720 #20267D
analogous
#7D4820 #7D7720 #547D20
triadic
#7D7720 #207D77 #77207D
tetradic
#7D7720 #207D48 #20267D #7D2054
square
#7D7720 #207D48 #20267D #7D2054
split-complementary
#7D7720 #20547D #48207D
monochromatic
#1C1A07 #4C4914 #7D7720 #AEA52C #D0C747

Accessibility & contrast

On white

4.63
#7D7720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7D7720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7720
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7720#FFFFFF#000000##FFFFFF
##7D77201.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827311
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#876F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d7720;
/* rgb */ color: rgb(125, 119, 32);
/* oklch */ color: oklch(55.8% 0.105 105.4);
Tailwind
colors: {
  custom: {
    50: '#a69e62',
    500: '#7d7720',
    950: '#000000',
  },
}
SCSS
$custom: #7d7720;
$custom-light: #a69e62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7720",
  "rgb": {
    "r": 125,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 56.129,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55814,
    "c": 0.10537,
    "h": 105.4
  },
  "luminance": 0.17658
}

Semantic roles & 50–950 ramp

primary
#7D7720
secondary
#494FB0
accent
#50E245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7720

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

Preview Lab → · Contrast checker → · Palette generator →

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