#79731B#79731B

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

Color values

HEX#79731B
RGBrgb(121, 115, 27)
HSLhsl(56, 64%, 29%)
HSVhsv(56, 78%, 47%)
CMYKcmyk(0%, 5%, 77.7%, 52.5%)
CIE-LABlab(47.50, -8.32, 46.17)
CIE-LCHlch(47.50, 46.92, 100.22°)
OKLaboklab(54.46% -0.0279 0.1014)
OKLCHoklch(54.46% 0.105 105.4)
XYZxyz(14.2143, 16.4061, 3.4547)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79731B #1B2179
analogous
#79441B #79731B #50791B
triadic
#79731B #1B7973 #731B79
tetradic
#79731B #1B7944 #1B2179 #791B50
square
#79731B #1B7944 #1B2179 #791B50
split-complementary
#79731B #1B5079 #441B79
monochromatic
#191806 #474310 #79731B #ABA326 #D3CA3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79731B#FFFFFF#000000##FFFFFF
##79731B1.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)
#7E6F08
Deuteranopia (green-blind)
#807222
Tritanopia (blue-blind)
#826B62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #79731b;
/* rgb */ color: rgb(121, 115, 27);
/* oklch */ color: oklch(54.5% 0.105 105.4);
Tailwind
colors: {
  custom: {
    50: '#a39b5f',
    500: '#79731b',
    950: '#000000',
  },
}
SCSS
$custom: #79731b;
$custom-light: #a39b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#79731b",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 56.17,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54459,
    "c": 0.10513,
    "h": 105.4
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#79731B
secondary
#4349AD
accent
#4CE741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79731B

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

Preview Lab → · Contrast checker → · Palette generator →

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