#797529#797529

#797529 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.0% C 0.097 H 106.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#797529
RGBrgb(121, 117, 41)
HSLhsl(57, 49%, 32%)
HSVhsv(57, 66%, 47%)
CMYKcmyk(0%, 3.3%, 66.1%, 52.5%)
CIE-LABlab(48.19, -8.63, 41.04)
CIE-LCHlch(48.19, 41.94, 101.88°)
OKLaboklab(55.04% -0.0272 0.0931)
OKLCHoklch(55.04% 0.097 106.3)
XYZxyz(14.6472, 16.9481, 4.5971)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797529 #292D79
analogous
#794D29 #797529 #557929
triadic
#797529 #297975 #752979
tetradic
#797529 #29794D #292D79 #792955
square
#797529 #29794D #292D79 #792955
split-complementary
#797529 #295579 #4D2979
monochromatic
#1E1D0A #4B491A #797529 #A7A138 #C6C056

Accessibility & contrast

On white

4.78
#797529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#797529 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797529
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797529#FFFFFF#000000##FFFFFF
##7975291.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#826D65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797529;
/* rgb */ color: rgb(121, 117, 41);
/* oklch */ color: oklch(55.0% 0.097 106.3);
Tailwind
colors: {
  custom: {
    50: '#a29c67',
    500: '#797529',
    950: '#000000',
  },
}
SCSS
$custom: #797529;
$custom-light: #a29c67;
$custom-dark: #000000;
JSON
{
  "hex": "#797529",
  "rgb": {
    "r": 121,
    "g": 117,
    "b": 41
  },
  "hsl": {
    "h": 57,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55043,
    "c": 0.09701,
    "h": 106.3
  },
  "luminance": 0.16948
}

Semantic roles & 50–950 ramp

primary
#797529
secondary
#5357AB
accent
#56D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797529

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

Preview Lab → · Contrast checker → · Palette generator →

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