#7C721D#7C721D

#7C721D is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.5% C 0.103 H 102.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7C721D
RGBrgb(124, 114, 29)
HSLhsl(54, 62%, 30%)
HSVhsv(54, 77%, 49%)
CMYKcmyk(0%, 8.1%, 76.6%, 51.4%)
CIE-LABlab(47.51, -6.25, 45.52)
CIE-LCHlch(47.51, 45.95, 97.82°)
OKLaboklab(54.53% -0.022 0.1003)
OKLCHoklch(54.53% 0.103 102.4)
XYZxyz(14.5519, 16.4091, 3.5629)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C721D #1D277C
analogous
#7C421D #7C721D #577C1D
triadic
#7C721D #1D7C72 #721D7C
tetradic
#7C721D #1D7C42 #1D277C #7C1D57
square
#7C721D #1D7C42 #1D277C #7C1D57
split-complementary
#7C721D #1D577C #421D7C
monochromatic
#191706 #4A4411 #7C721D #AEA029 #D3C341

Accessibility & contrast

On white

4.90
#7C721D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7C721D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C721D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C721D#FFFFFF#000000##FFFFFF
##7C721D1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0D
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#866962
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c721d;
/* rgb */ color: rgb(124, 114, 29);
/* oklch */ color: oklch(54.5% 0.103 102.4);
Tailwind
colors: {
  custom: {
    50: '#a59a60',
    500: '#7c721d',
    950: '#000000',
  },
}
SCSS
$custom: #7c721d;
$custom-light: #a59a60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c721d",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 29
  },
  "hsl": {
    "h": 53.684,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.54534,
    "c": 0.10265,
    "h": 102.4
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#7C721D
secondary
#4550B0
accent
#54E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C721D

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

Preview Lab → · Contrast checker → · Palette generator →

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