#79731C#79731C

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

Color values

HEX#79731C
RGBrgb(121, 115, 28)
HSLhsl(56, 62%, 29%)
HSVhsv(56, 77%, 47%)
CMYKcmyk(0%, 5%, 76.9%, 52.5%)
CIE-LABlab(47.51, -8.27, 45.81)
CIE-LCHlch(47.51, 46.55, 100.24°)
OKLaboklab(54.47% -0.0277 0.1008)
OKLCHoklch(54.47% 0.105 105.3)
XYZxyz(14.2261, 16.4108, 3.5166)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79731C #1C2279
analogous
#79451C #79731C #51791C
triadic
#79731C #1C7973 #731C79
tetradic
#79731C #1C7945 #1C2279 #791C51
square
#79731C #1C7945 #1C2279 #791C51
split-complementary
#79731C #1C5179 #451C79
monochromatic
#191806 #474410 #79731C #ABA228 #D2C93D

Accessibility & contrast

On white

4.90
#79731C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #79731C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

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

Design tokens & code

CSS
--color: #79731c;
/* rgb */ color: rgb(121, 115, 28);
/* oklch */ color: oklch(54.5% 0.105 105.3);
Tailwind
colors: {
  custom: {
    50: '#a39b5f',
    500: '#79731c',
    950: '#000000',
  },
}
SCSS
$custom: #79731c;
$custom-light: #a39b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#79731c",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 56.129,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.10451,
    "h": 105.3
  },
  "luminance": 0.1641
}

Semantic roles & 50–950 ramp

primary
#79731C
secondary
#444BAD
accent
#4DE542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79731C

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

Preview Lab → · Contrast checker → · Palette generator →

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