#79731A#79731A

#79731A is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.5% C 0.106 H 105.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#79731A
RGBrgb(121, 115, 26)
HSLhsl(56, 65%, 29%)
HSVhsv(56, 79%, 47%)
CMYKcmyk(0%, 5%, 78.5%, 52.5%)
CIE-LABlab(47.50, -8.37, 46.53)
CIE-LCHlch(47.50, 47.28, 100.19°)
OKLaboklab(54.45% -0.0281 0.1019)
OKLCHoklch(54.45% 0.106 105.4)
XYZxyz(14.2029, 16.4015, 3.3948)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79731A #1A2079
analogous
#79441A #79731A #50791A
triadic
#79731A #1A7973 #731A79
tetradic
#79731A #1A7944 #1A2079 #791A50
square
#79731A #1A7944 #1A2079 #791A50
split-complementary
#79731A #1A5079 #441A79
monochromatic
#191805 #47430F #79731A #ABA325 #D4CB39

Accessibility & contrast

On white

4.91
#79731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#79731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79731A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79731A#FFFFFF#000000##FFFFFF
##79731A1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F06
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#826B62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #79731a;
/* rgb */ color: rgb(121, 115, 26);
/* oklch */ color: oklch(54.5% 0.106 105.4);
Tailwind
colors: {
  custom: {
    50: '#a39b5e',
    500: '#79731a',
    950: '#000000',
  },
}
SCSS
$custom: #79731a;
$custom-light: #a39b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#79731a",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 56.211,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.10572,
    "h": 105.4
  },
  "luminance": 0.16401
}

Semantic roles & 50–950 ramp

primary
#79731A
secondary
#4148AD
accent
#4BE840
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79731A

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

Preview Lab → · Contrast checker → · Palette generator →

#79731A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva