#7D721C#7D721C

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

Color values

HEX#7D721C
RGBrgb(125, 114, 28)
HSLhsl(53, 63%, 30%)
HSVhsv(53, 78%, 49%)
CMYKcmyk(0%, 8.8%, 77.6%, 51%)
CIE-LABlab(47.60, -5.83, 46.02)
CIE-LCHlch(47.60, 46.39, 97.22°)
OKLaboklab(54.63% -0.021 0.1011)
OKLCHoklch(54.63% 0.103 101.7)
XYZxyz(14.6850, 16.4791, 3.5057)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D721C #1C277D
analogous
#7D421C #7D721C #577D1C
triadic
#7D721C #1C7D72 #721C7D
tetradic
#7D721C #1C7D42 #1C277D #7D1C57
square
#7D721C #1C7D42 #1C277D #7D1C57
split-complementary
#7D721C #1C577D #421C7D
monochromatic
#191706 #4B4411 #7D721C #AFA027 #D4C33F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D721C#FFFFFF#000000##FFFFFF
##7D721C1.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)
#7D6E0B
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#876962
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d721c;
/* rgb */ color: rgb(125, 114, 28);
/* oklch */ color: oklch(54.6% 0.103 101.7);
Tailwind
colors: {
  custom: {
    50: '#a69a5f',
    500: '#7d721c',
    950: '#000000',
  },
}
SCSS
$custom: #7d721c;
$custom-light: #a69a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d721c",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 28
  },
  "hsl": {
    "h": 53.196,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.54627,
    "c": 0.10324,
    "h": 101.7
  },
  "luminance": 0.16478
}

Semantic roles & 50–950 ramp

primary
#7D721C
secondary
#4450B1
accent
#54E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D721C

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

Preview Lab → · Contrast checker → · Palette generator →

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