#7D6920#7D6920

#7D6920 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.6% C 0.093 H 93.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7D6920
RGBrgb(125, 105, 32)
HSLhsl(47, 59%, 31%)
HSVhsv(47, 74%, 49%)
CMYKcmyk(0%, 16%, 74.4%, 51%)
CIE-LABlab(45.04, -0.48, 41.93)
CIE-LCHlch(45.04, 41.93, 90.66°)
OKLaboklab(52.61% -0.0054 0.0932)
OKLCHoklch(52.61% 0.093 93.3)
XYZxyz(13.7705, 14.5682, 3.4528)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6920 #20347D
analogous
#7D3A20 #7D6920 #627D20
triadic
#7D6920 #207D69 #69207D
tetradic
#7D6920 #207D3A #20347D #7D2062
square
#7D6920 #207D3A #20347D #7D2062
split-complementary
#7D6920 #20627D #3A207D
monochromatic
#1C1707 #4C4014 #7D6920 #AE922C #D0B347

Accessibility & contrast

On white

5.37
#7D6920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7D6920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6920
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6920#FFFFFF#000000##FFFFFF
##7D69201.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756715
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#87605A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d6920;
/* rgb */ color: rgb(125, 105, 32);
/* oklch */ color: oklch(52.6% 0.093 93.3);
Tailwind
colors: {
  custom: {
    50: '#a69360',
    500: '#7d6920',
    950: '#000000',
  },
}
SCSS
$custom: #7d6920;
$custom-light: #a69360;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6920",
  "rgb": {
    "r": 125,
    "g": 105,
    "b": 32
  },
  "hsl": {
    "h": 47.097,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.09337,
    "h": 93.3
  },
  "luminance": 0.14567
}

Semantic roles & 50–950 ramp

primary
#7D6920
secondary
#495FB0
accent
#67E245
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6920

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

Preview Lab → · Contrast checker → · Palette generator →

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