#7D7322#7D7322

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

Color values

HEX#7D7322
RGBrgb(125, 115, 34)
HSLhsl(53, 57%, 31%)
HSVhsv(53, 73%, 49%)
CMYKcmyk(0%, 8%, 72.8%, 51%)
CIE-LABlab(47.93, -6.09, 43.96)
CIE-LCHlch(47.93, 44.38, 97.88°)
OKLaboklab(54.9% -0.0211 0.0979)
OKLCHoklch(54.9% 0.1 102.1)
XYZxyz(14.8776, 16.7376, 3.9601)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7322 #222C7D
analogous
#7D4522 #7D7322 #597D22
triadic
#7D7322 #227D73 #73227D
tetradic
#7D7322 #227D45 #222C7D #7D2259
square
#7D7322 #227D45 #222C7D #7D2259
split-complementary
#7D7322 #22597D #45227D
monochromatic
#1D1A08 #4D4715 #7D7322 #AD9F2F #CEC04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7322#FFFFFF#000000##FFFFFF
##7D73221.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)
#7E6F16
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#876B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d7322;
/* rgb */ color: rgb(125, 115, 34);
/* oklch */ color: oklch(54.9% 0.100 102.1);
Tailwind
colors: {
  custom: {
    50: '#a69b63',
    500: '#7d7322',
    950: '#000000',
  },
}
SCSS
$custom: #7d7322;
$custom-light: #a69b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7322",
  "rgb": {
    "r": 125,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 53.407,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.10013,
    "h": 102.1
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#7D7322
secondary
#4B56B0
accent
#58E047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7322

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

Preview Lab → · Contrast checker → · Palette generator →

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