#797729#797729

#797729 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.099 H 107.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#797729
RGBrgb(121, 119, 41)
HSLhsl(59, 49%, 32%)
HSVhsv(59, 66%, 47%)
CMYKcmyk(0%, 1.7%, 66.1%, 52.5%)
CIE-LABlab(48.78, -9.75, 41.66)
CIE-LCHlch(48.78, 42.78, 103.17°)
OKLaboklab(55.51% -0.0304 0.0944)
OKLCHoklch(55.51% 0.099 107.8)
XYZxyz(14.8827, 17.4192, 4.6757)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797729 #292B79
analogous
#794F29 #797729 #537929
triadic
#797729 #297977 #772979
tetradic
#797729 #29794F #292B79 #792953
square
#797729 #29794F #292B79 #792953
split-complementary
#797729 #295379 #4F2979
monochromatic
#1E1D0A #4B4A1A #797729 #A7A438 #C6C356

Accessibility & contrast

On white

4.68
#797729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#797729 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797729
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797729#FFFFFF#000000##FFFFFF
##7977291.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721F
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#826F67
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797729;
/* rgb */ color: rgb(121, 119, 41);
/* oklch */ color: oklch(55.5% 0.099 107.8);
Tailwind
colors: {
  custom: {
    50: '#a29e67',
    500: '#797729',
    950: '#000000',
  },
}
SCSS
$custom: #797729;
$custom-light: #a29e67;
$custom-dark: #000000;
JSON
{
  "hex": "#797729",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 41
  },
  "hsl": {
    "h": 58.5,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.09918,
    "h": 107.8
  },
  "luminance": 0.17419
}

Semantic roles & 50–950 ramp

primary
#797729
secondary
#5355AB
accent
#52D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797729

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

Preview Lab → · Contrast checker → · Palette generator →

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