#797929#797929

#797929 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.101 H 109.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#797929
RGBrgb(121, 121, 41)
HSLhsl(60, 49%, 32%)
HSVhsv(60, 66%, 47%)
CMYKcmyk(0%, 0%, 66.1%, 52.5%)
CIE-LABlab(49.37, -10.85, 42.28)
CIE-LCHlch(49.37, 43.65, 104.39°)
OKLaboklab(55.98% -0.0335 0.0957)
OKLCHoklch(55.98% 0.101 109.3)
XYZxyz(15.1233, 17.9002, 4.7558)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797929 #292979
analogous
#795129 #797929 #517929
triadic
#797929 #297979 #792979
tetradic
#797929 #297951 #292979 #792951
square
#797929 #297951 #292979 #792951
split-complementary
#797929 #295179 #512979
monochromatic
#1E1E0A #4B4B1A #797929 #A7A738 #C6C656

Accessibility & contrast

On white

4.59
#797929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#797929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797929
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797929#FFFFFF#000000##FFFFFF
##7979291.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#827168
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797929;
/* rgb */ color: rgb(121, 121, 41);
/* oklch */ color: oklch(56.0% 0.101 109.3);
Tailwind
colors: {
  custom: {
    50: '#a29f67',
    500: '#797929',
    950: '#000000',
  },
}
SCSS
$custom: #797929;
$custom-light: #a29f67;
$custom-dark: #000000;
JSON
{
  "hex": "#797929",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 60,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55984,
    "c": 0.10141,
    "h": 109.3
  },
  "luminance": 0.179
}

Semantic roles & 50–950 ramp

primary
#797929
secondary
#5353AB
accent
#4FD94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797929

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

Preview Lab → · Contrast checker → · Palette generator →

#797929 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva