#79721B#79721B

#79721B is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.2% C 0.104 H 104.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#79721B
RGBrgb(121, 114, 27)
HSLhsl(56, 64%, 29%)
HSVhsv(56, 78%, 47%)
CMYKcmyk(0%, 5.8%, 77.7%, 52.5%)
CIE-LABlab(47.21, -7.76, 45.90)
CIE-LCHlch(47.21, 46.55, 99.60°)
OKLaboklab(54.23% -0.0263 0.1008)
OKLCHoklch(54.23% 0.104 104.6)
XYZxyz(14.1009, 16.1793, 3.4168)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79721B #1B2279
analogous
#79431B #79721B #51791B
triadic
#79721B #1B7972 #721B79
tetradic
#79721B #1B7943 #1B2279 #791B51
square
#79721B #1B7943 #1B2279 #791B51
split-complementary
#79721B #1B5179 #431B79
monochromatic
#191806 #474310 #79721B #ABA126 #D3C83B

Accessibility & contrast

On white

4.96
#79721B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#79721B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79721B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79721B#FFFFFF#000000##FFFFFF
##79721B1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#7F7221
Tritanopia (blue-blind)
#836A61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #79721b;
/* rgb */ color: rgb(121, 114, 27);
/* oklch */ color: oklch(54.2% 0.104 104.6);
Tailwind
colors: {
  custom: {
    50: '#a39a5f',
    500: '#79721b',
    950: '#000000',
  },
}
SCSS
$custom: #79721b;
$custom-light: #a39a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#79721b",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 27
  },
  "hsl": {
    "h": 55.532,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54225,
    "c": 0.10415,
    "h": 104.6
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#79721B
secondary
#434BAD
accent
#4EE741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79721B

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

Preview Lab → · Contrast checker → · Palette generator →

#79721B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva