#79742F#79742F

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

Color values

HEX#79742F
RGBrgb(121, 116, 47)
HSLhsl(56, 44%, 33%)
HSVhsv(56, 61%, 47%)
CMYKcmyk(0%, 4.1%, 61.2%, 52.5%)
CIE-LABlab(47.96, -7.63, 37.93)
CIE-LCHlch(47.96, 38.69, 101.38°)
OKLaboklab(54.87% -0.0236 0.0874)
OKLCHoklch(54.87% 0.091 105.1)
XYZxyz(14.6441, 16.7615, 5.1527)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79742F #2F3479
analogous
#794F2F #79742F #59792F
triadic
#79742F #2F7974 #742F79
tetradic
#79742F #2F794F #2F3479 #792F59
square
#79742F #2F794F #2F3479 #792F59
split-complementary
#79742F #2F5979 #4F2F79
monochromatic
#211F0D #4D4A1E #79742F #A59E40 #C2BB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79742F#FFFFFF#000000##FFFFFF
##79742F1.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)
#7E7028
Deuteranopia (green-blind)
#807333
Tritanopia (blue-blind)
#826D65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #79742f;
/* rgb */ color: rgb(121, 116, 47);
/* oklch */ color: oklch(54.9% 0.091 105.1);
Tailwind
colors: {
  custom: {
    50: '#a29b6a',
    500: '#79742f',
    950: '#000000',
  },
}
SCSS
$custom: #79742f;
$custom-light: #a29b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#79742f",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 47
  },
  "hsl": {
    "h": 55.946,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54873,
    "c": 0.09056,
    "h": 105.1
  },
  "luminance": 0.16761
}

Semantic roles & 50–950 ramp

primary
#79742F
secondary
#5B61A8
accent
#5DD454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #79742F

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

Preview Lab → · Contrast checker → · Palette generator →

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