#7D7420#7D7420

#7D7420 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.102 H 103.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7D7420
RGBrgb(125, 116, 32)
HSLhsl(54, 59%, 31%)
HSVhsv(54, 74%, 49%)
CMYKcmyk(0%, 7.2%, 74.4%, 51%)
CIE-LABlab(48.20, -6.76, 45.05)
CIE-LCHlch(48.20, 45.55, 98.53°)
OKLaboklab(55.12% -0.0232 0.0998)
OKLCHoklch(55.12% 0.102 103.1)
XYZxyz(14.9642, 16.9557, 3.8508)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7420 #20297D
analogous
#7D4520 #7D7420 #577D20
triadic
#7D7420 #207D74 #74207D
tetradic
#7D7420 #207D45 #20297D #7D2057
square
#7D7420 #207D45 #20297D #7D2057
split-complementary
#7D7420 #20577D #45207D
monochromatic
#1C1A07 #4C4714 #7D7420 #AEA12C #D0C347

Accessibility & contrast

On white

4.78
#7D7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7D7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7420
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7420#FFFFFF#000000##FFFFFF
##7D74201.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7012
Deuteranopia (green-blind)
#827426
Tritanopia (blue-blind)
#876C64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d7420;
/* rgb */ color: rgb(125, 116, 32);
/* oklch */ color: oklch(55.1% 0.102 103.1);
Tailwind
colors: {
  custom: {
    50: '#a69b62',
    500: '#7d7420',
    950: '#000000',
  },
}
SCSS
$custom: #7d7420;
$custom-light: #a69b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7420",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 54.194,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55117,
    "c": 0.10247,
    "h": 103.1
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#7D7420
secondary
#4953B0
accent
#55E245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7420

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

Preview Lab → · Contrast checker → · Palette generator →

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