#7D7642#7D7642

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

Color values

HEX#7D7642
RGBrgb(125, 118, 66)
HSLhsl(53, 31%, 37%)
HSVhsv(53, 47%, 49%)
CMYKcmyk(0%, 5.6%, 47.2%, 51%)
CIE-LABlab(49.14, -5.18, 29.49)
CIE-LCHlch(49.14, 29.94, 99.95°)
OKLaboklab(55.98% -0.0146 0.071)
OKLCHoklch(55.98% 0.072 101.7)
XYZxyz(15.9196, 17.7107, 7.7331)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7642 #42497D
analogous
#7D5842 #7D7642 #677D42
triadic
#7D7642 #427D76 #76427D
tetradic
#7D7642 #427D58 #42497D #7D4267
square
#7D7642 #427D58 #42497D #7D4267
split-complementary
#7D7642 #42677D #58427D
monochromatic
#2D2A18 #55502D #7D7642 #A59C57 #BBB47E

Accessibility & contrast

On white

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

On black

4.54
#7D7642 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D7642#FFFFFF#000000##FFFFFF
##7D76421.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733E
Deuteranopia (green-blind)
#817644
Tritanopia (blue-blind)
#85706A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d7642;
/* rgb */ color: rgb(125, 118, 66);
/* oklch */ color: oklch(56.0% 0.072 101.7);
Tailwind
colors: {
  custom: {
    50: '#a49d77',
    500: '#7d7642',
    950: '#000000',
  },
}
SCSS
$custom: #7d7642;
$custom-light: #a49d77;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7642",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 66
  },
  "hsl": {
    "h": 52.881,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.07245,
    "h": 101.7
  },
  "luminance": 0.1771
}

Semantic roles & 50–950 ramp

primary
#7D7642
secondary
#757BA6
accent
#6DC761
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7D7642

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

Preview Lab → · Contrast checker → · Palette generator →

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