#7D7620#7D7620

#7D7620 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.104 H 104.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D7620
RGBrgb(125, 118, 32)
HSLhsl(55, 59%, 31%)
HSVhsv(55, 74%, 49%)
CMYKcmyk(0%, 5.6%, 74.4%, 51%)
CIE-LABlab(48.79, -7.87, 45.61)
CIE-LCHlch(48.79, 46.29, 99.79°)
OKLaboklab(55.58% -0.0263 0.101)
OKLCHoklch(55.58% 0.104 104.6)
XYZxyz(15.1972, 17.4217, 3.9284)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7620 #20277D
analogous
#7D4720 #7D7620 #557D20
triadic
#7D7620 #207D76 #76207D
tetradic
#7D7620 #207D47 #20277D #7D2055
square
#7D7620 #207D47 #20277D #7D2055
split-complementary
#7D7620 #20557D #47207D
monochromatic
#1C1A07 #4C4814 #7D7620 #AEA42C #D0C647

Accessibility & contrast

On white

4.68
#7D7620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7D7620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7620
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7620#FFFFFF#000000##FFFFFF
##7D76201.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817211
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#876E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d7620;
/* rgb */ color: rgb(125, 118, 32);
/* oklch */ color: oklch(55.6% 0.104 104.6);
Tailwind
colors: {
  custom: {
    50: '#a69d62',
    500: '#7d7620',
    950: '#000000',
  },
}
SCSS
$custom: #7d7620;
$custom-light: #a69d62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7620",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 55.484,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.10439,
    "h": 104.6
  },
  "luminance": 0.17421
}

Semantic roles & 50–950 ramp

primary
#7D7620
secondary
#4951B0
accent
#51E245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7620

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

Preview Lab → · Contrast checker → · Palette generator →

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