#7D7728#7D7728

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

Color values

HEX#7D7728
RGBrgb(125, 119, 40)
HSLhsl(56, 52%, 32%)
HSVhsv(56, 68%, 49%)
CMYKcmyk(0%, 4.8%, 68%, 51%)
CIE-LABlab(49.14, -7.97, 42.59)
CIE-LCHlch(49.14, 43.33, 100.59°)
OKLaboklab(55.88% -0.0257 0.0961)
OKLCHoklch(55.88% 0.099 105)
XYZxyz(15.4379, 17.7074, 4.6117)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7728 #282E7D
analogous
#7D4D28 #7D7728 #587D28
triadic
#7D7728 #287D77 #77287D
tetradic
#7D7728 #287D4D #282E7D #7D2858
square
#7D7728 #287D4D #282E7D #7D2858
split-complementary
#7D7728 #28587D #4D287D
monochromatic
#201F0A #4F4B19 #7D7728 #ABA337 #C9C156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7728#FFFFFF#000000##FFFFFF
##7D77281.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)
#81731E
Deuteranopia (green-blind)
#84762D
Tritanopia (blue-blind)
#866F67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d7728;
/* rgb */ color: rgb(125, 119, 40);
/* oklch */ color: oklch(55.9% 0.099 105.0);
Tailwind
colors: {
  custom: {
    50: '#a59e66',
    500: '#7d7728',
    950: '#000000',
  },
}
SCSS
$custom: #7d7728;
$custom-light: #a59e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7728",
  "rgb": {
    "r": 125,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 55.765,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.09949,
    "h": 105
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#7D7728
secondary
#5359AE
accent
#57DB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7728

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

Preview Lab → · Contrast checker → · Palette generator →

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