#79742E#79742E

#79742E is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.091 H 105.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#79742E
RGBrgb(121, 116, 46)
HSLhsl(56, 45%, 33%)
HSVhsv(56, 62%, 47%)
CMYKcmyk(0%, 4.1%, 62%, 52.5%)
CIE-LABlab(47.95, -7.71, 38.41)
CIE-LCHlch(47.95, 39.18, 101.35°)
OKLaboklab(54.86% -0.024 0.0883)
OKLCHoklch(54.86% 0.092 105.2)
XYZxyz(14.6242, 16.7535, 5.0476)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79742E #2E3379
analogous
#794E2E #79742E #58792E
triadic
#79742E #2E7974 #742E79
tetradic
#79742E #2E794E #2E3379 #792E58
square
#79742E #2E794E #2E3379 #792E58
split-complementary
#79742E #2E5879 #4E2E79
monochromatic
#201F0C #4D491D #79742E #A59F3F #C2BC5F

Accessibility & contrast

On white

4.83
#79742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#79742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79742E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79742E#FFFFFF#000000##FFFFFF
##79742E1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#807332
Tritanopia (blue-blind)
#826D65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #79742e;
/* rgb */ color: rgb(121, 116, 46);
/* oklch */ color: oklch(54.9% 0.091 105.2);
Tailwind
colors: {
  custom: {
    50: '#a29b6a',
    500: '#79742e',
    950: '#000000',
  },
}
SCSS
$custom: #79742e;
$custom-light: #a29b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#79742e",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 56,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.0915,
    "h": 105.2
  },
  "luminance": 0.16753
}

Semantic roles & 50–950 ramp

primary
#79742E
secondary
#5A5FA9
accent
#5CD553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #79742E

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

Preview Lab → · Contrast checker → · Palette generator →

#79742E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva