#7D721F#7D721F

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

Color values

HEX#7D721F
RGBrgb(125, 114, 31)
HSLhsl(53, 60%, 31%)
HSVhsv(53, 75%, 49%)
CMYKcmyk(0%, 8.8%, 75.2%, 51%)
CIE-LABlab(47.62, -5.68, 44.88)
CIE-LCHlch(47.62, 45.24, 97.22°)
OKLaboklab(54.65% -0.0203 0.0993)
OKLCHoklch(54.65% 0.101 101.5)
XYZxyz(14.7228, 16.4942, 3.7042)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D721F #1F2A7D
analogous
#7D431F #7D721F #597D1F
triadic
#7D721F #1F7D72 #721F7D
tetradic
#7D721F #1F7D43 #1F2A7D #7D1F59
square
#7D721F #1F7D43 #1F2A7D #7D1F59
split-complementary
#7D721F #1F597D #431F7D
monochromatic
#1B1907 #4C4513 #7D721F #AE9F2B #D1C145

Accessibility & contrast

On white

4.89
#7D721F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D721F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D721F#FFFFFF#000000##FFFFFF
##7D721F1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d721f;
/* rgb */ color: rgb(125, 114, 31);
/* oklch */ color: oklch(54.6% 0.101 101.5);
Tailwind
colors: {
  custom: {
    50: '#a69a61',
    500: '#7d721f',
    950: '#000000',
  },
}
SCSS
$custom: #7d721f;
$custom-light: #a69a61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d721f",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 52.979,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.1013,
    "h": 101.5
  },
  "luminance": 0.16494
}

Semantic roles & 50–950 ramp

primary
#7D721F
secondary
#4854B0
accent
#57E344
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D721F

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

Preview Lab → · Contrast checker → · Palette generator →

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