#79731D#79731D

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

Color values

HEX#79731D
RGBrgb(121, 115, 29)
HSLhsl(56, 61%, 29%)
HSVhsv(56, 76%, 47%)
CMYKcmyk(0%, 5%, 76%, 52.5%)
CIE-LABlab(47.52, -8.22, 45.43)
CIE-LCHlch(47.52, 46.17, 100.26°)
OKLaboklab(54.47% -0.0274 0.1002)
OKLCHoklch(54.47% 0.104 105.3)
XYZxyz(14.2383, 16.4157, 3.5807)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79731D #1D2379
analogous
#79451D #79731D #51791D
triadic
#79731D #1D7973 #731D79
tetradic
#79731D #1D7945 #1D2379 #791D51
square
#79731D #1D7945 #1D2379 #791D51
split-complementary
#79731D #1D5179 #451D79
monochromatic
#191706 #484411 #79731D #AAA229 #D1C83F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79731D#FFFFFF#000000##FFFFFF
##79731D1.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)
#7E6F0D
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#826B62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #79731d;
/* rgb */ color: rgb(121, 115, 29);
/* oklch */ color: oklch(54.5% 0.104 105.3);
Tailwind
colors: {
  custom: {
    50: '#a39b60',
    500: '#79731d',
    950: '#000000',
  },
}
SCSS
$custom: #79731d;
$custom-light: #a39b60;
$custom-dark: #000000;
JSON
{
  "hex": "#79731d",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 56.087,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.10387,
    "h": 105.3
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#79731D
secondary
#454CAD
accent
#4EE443
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79731D

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

Preview Lab → · Contrast checker → · Palette generator →

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