#79721F#79721F

#79721F is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.3% C 0.102 H 104.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#79721F
RGBrgb(121, 114, 31)
HSLhsl(55, 59%, 30%)
HSVhsv(55, 74%, 47%)
CMYKcmyk(0%, 5.8%, 74.4%, 52.5%)
CIE-LABlab(47.23, -7.56, 44.38)
CIE-LCHlch(47.23, 45.02, 99.67°)
OKLaboklab(54.25% -0.0253 0.0984)
OKLCHoklch(54.25% 0.102 104.4)
XYZxyz(14.1504, 16.1991, 3.6774)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79721F #1F2679
analogous
#79451F #79721F #53791F
triadic
#79721F #1F7972 #721F79
tetradic
#79721F #1F7945 #1F2679 #791F53
square
#79721F #1F7945 #1F2679 #791F53
split-complementary
#79721F #1F5379 #451F79
monochromatic
#181706 #484413 #79721F #AAA02B #CFC443

Accessibility & contrast

On white

4.95
#79721F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #79721F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79721F#FFFFFF#000000##FFFFFF
##79721F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E11
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#826A62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #79721f;
/* rgb */ color: rgb(121, 114, 31);
/* oklch */ color: oklch(54.3% 0.102 104.4);
Tailwind
colors: {
  custom: {
    50: '#a39a61',
    500: '#79721f',
    950: '#000000',
  },
}
SCSS
$custom: #79721f;
$custom-light: #a39a61;
$custom-dark: #000000;
JSON
{
  "hex": "#79721f",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 55.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54253,
    "c": 0.10156,
    "h": 104.4
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#79721F
secondary
#474FAC
accent
#52E245
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79721F

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

Preview Lab → · Contrast checker → · Palette generator →

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