#7D7320#7D7320

#7D7320 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.102 H 102.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7D7320
RGBrgb(125, 115, 32)
HSLhsl(54, 59%, 31%)
HSVhsv(54, 74%, 49%)
CMYKcmyk(0%, 8%, 74.4%, 51%)
CIE-LABlab(47.91, -6.19, 44.77)
CIE-LCHlch(47.91, 45.19, 97.88°)
OKLaboklab(54.89% -0.0216 0.0992)
OKLCHoklch(54.89% 0.102 102.3)
XYZxyz(14.8495, 16.7264, 3.8125)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7320 #202A7D
analogous
#7D4420 #7D7320 #587D20
triadic
#7D7320 #207D73 #73207D
tetradic
#7D7320 #207D44 #202A7D #7D2058
square
#7D7320 #207D44 #202A7D #7D2058
split-complementary
#7D7320 #20587D #44207D
monochromatic
#1C1907 #4C4614 #7D7320 #AEA02C #D0C147

Accessibility & contrast

On white

4.83
#7D7320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7D7320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7320
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7320#FFFFFF#000000##FFFFFF
##7D73201.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F12
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#876B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d7320;
/* rgb */ color: rgb(125, 115, 32);
/* oklch */ color: oklch(54.9% 0.102 102.3);
Tailwind
colors: {
  custom: {
    50: '#a69b62',
    500: '#7d7320',
    950: '#000000',
  },
}
SCSS
$custom: #7d7320;
$custom-light: #a69b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7320",
  "rgb": {
    "r": 125,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 53.548,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.10154,
    "h": 102.3
  },
  "luminance": 0.16726
}

Semantic roles & 50–950 ramp

primary
#7D7320
secondary
#4954B0
accent
#56E245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7320

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

Preview Lab → · Contrast checker → · Palette generator →

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