#7D7220#7D7220

#7D7220 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.101 H 101.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D7220
RGBrgb(125, 114, 32)
HSLhsl(53, 59%, 31%)
HSVhsv(53, 74%, 49%)
CMYKcmyk(0%, 8.8%, 74.4%, 51%)
CIE-LABlab(47.62, -5.63, 44.48)
CIE-LCHlch(47.62, 44.84, 97.21°)
OKLaboklab(54.66% -0.02 0.0986)
OKLCHoklch(54.66% 0.101 101.5)
XYZxyz(14.7361, 16.4995, 3.7747)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7220 #202B7D
analogous
#7D4320 #7D7220 #597D20
triadic
#7D7220 #207D72 #72207D
tetradic
#7D7220 #207D43 #202B7D #7D2059
square
#7D7220 #207D43 #202B7D #7D2059
split-complementary
#7D7220 #20597D #43207D
monochromatic
#1C1907 #4C4614 #7D7220 #AE9E2C #D0C047

Accessibility & contrast

On white

4.88
#7D7220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7D7220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7220
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7220#FFFFFF#000000##FFFFFF
##7D72201.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E13
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#876962
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7220;
/* rgb */ color: rgb(125, 114, 32);
/* oklch */ color: oklch(54.7% 0.101 101.5);
Tailwind
colors: {
  custom: {
    50: '#a69a61',
    500: '#7d7220',
    950: '#000000',
  },
}
SCSS
$custom: #7d7220;
$custom-light: #a69a61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7220",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 52.903,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.10062,
    "h": 101.5
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#7D7220
secondary
#4955B0
accent
#58E245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7220

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

Preview Lab → · Contrast checker → · Palette generator →

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