#79792F#79792F

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

Color values

HEX#79792F
RGBrgb(121, 121, 47)
HSLhsl(60, 44%, 33%)
HSVhsv(60, 61%, 47%)
CMYKcmyk(0%, 0%, 61.2%, 52.5%)
CIE-LABlab(49.43, -10.41, 39.56)
CIE-LCHlch(49.43, 40.90, 104.75°)
OKLaboklab(56.05% -0.0315 0.0909)
OKLCHoklch(56.05% 0.096 109.1)
XYZxyz(15.2361, 17.9453, 5.3500)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79792F #2F2F79
analogous
#79542F #79792F #54792F
triadic
#79792F #2F7979 #792F79
tetradic
#79792F #2F7954 #2F2F79 #792F54
square
#79792F #2F7954 #2F2F79 #792F54
split-complementary
#79792F #2F5479 #542F79
monochromatic
#21210D #4D4D1E #79792F #A5A540 #C2C261

Accessibility & contrast

On white

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

On black

4.59
#79792F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79792F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79792F#FFFFFF#000000##000000
##79792F1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#827427
Deuteranopia (green-blind)
#837733
Tritanopia (blue-blind)
#817269
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #79792f;
/* rgb */ color: rgb(121, 121, 47);
/* oklch */ color: oklch(56.0% 0.096 109.1);
Tailwind
colors: {
  custom: {
    50: '#a29f6b',
    500: '#79792f',
    950: '#000000',
  },
}
SCSS
$custom: #79792f;
$custom-light: #a29f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#79792f",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56045,
    "c": 0.0962,
    "h": 109.1
  },
  "luminance": 0.17945
}

Semantic roles & 50–950 ramp

primary
#79792F
secondary
#5B5BA8
accent
#54D454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #79792F

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

Preview Lab → · Contrast checker → · Palette generator →

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