#79792B#79792B

#79792B is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.100 H 109.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#79792B
RGBrgb(121, 121, 43)
HSLhsl(60, 48%, 32%)
HSVhsv(60, 64%, 47%)
CMYKcmyk(0%, 0%, 64.5%, 52.5%)
CIE-LABlab(49.39, -10.71, 41.39)
CIE-LCHlch(49.39, 42.76, 104.51°)
OKLaboklab(56% -0.0328 0.0942)
OKLCHoklch(56% 0.1 109.2)
XYZxyz(15.1590, 17.9145, 4.9443)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79792B #2B2B79
analogous
#79522B #79792B #52792B
triadic
#79792B #2B7979 #792B79
tetradic
#79792B #2B7952 #2B2B79 #792B52
square
#79792B #2B7952 #2B2B79 #792B52
split-complementary
#79792B #2B5279 #522B79
monochromatic
#1F1F0B #4C4C1B #79792B #A6A63B #C4C45A

Accessibility & contrast

On white

4.58
#79792B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#79792B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79792B
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79792B#FFFFFF#000000##000000
##79792B1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#817169
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #79792b;
/* rgb */ color: rgb(121, 121, 43);
/* oklch */ color: oklch(56.0% 0.100 109.2);
Tailwind
colors: {
  custom: {
    50: '#a29f68',
    500: '#79792b',
    950: '#000000',
  },
}
SCSS
$custom: #79792b;
$custom-light: #a29f68;
$custom-dark: #000000;
JSON
{
  "hex": "#79792b",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.09974,
    "h": 109.2
  },
  "luminance": 0.17914
}

Semantic roles & 50–950 ramp

primary
#79792B
secondary
#5656AA
accent
#51D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #79792B

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

Preview Lab → · Contrast checker → · Palette generator →

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