#797432#797432

#797432 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.088 H 104.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#797432
RGBrgb(121, 116, 50)
HSLhsl(56, 42%, 34%)
HSVhsv(56, 59%, 47%)
CMYKcmyk(0%, 4.1%, 58.7%, 52.5%)
CIE-LABlab(47.99, -7.39, 36.47)
CIE-LCHlch(47.99, 37.22, 101.45°)
OKLaboklab(54.91% -0.0226 0.0847)
OKLCHoklch(54.91% 0.088 104.9)
XYZxyz(14.7067, 16.7865, 5.4824)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797432 #323779
analogous
#795032 #797432 #5A7932
triadic
#797432 #327974 #743279
tetradic
#797432 #327950 #323779 #79325A
square
#797432 #327950 #323779 #79325A
split-complementary
#797432 #325A79 #503279
monochromatic
#22210E #4E4A20 #797432 #A49E44 #C0B966

Accessibility & contrast

On white

4.82
#797432 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#797432 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797432
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797432#FFFFFF#000000##FFFFFF
##7974321.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702B
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#816D65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797432;
/* rgb */ color: rgb(121, 116, 50);
/* oklch */ color: oklch(54.9% 0.088 104.9);
Tailwind
colors: {
  custom: {
    50: '#a29b6c',
    500: '#797432',
    950: '#000000',
  },
}
SCSS
$custom: #797432;
$custom-light: #a29b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#797432",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 50
  },
  "hsl": {
    "h": 55.775,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54908,
    "c": 0.08767,
    "h": 104.9
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#797432
secondary
#5F65A7
accent
#5FD156
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797432

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

Preview Lab → · Contrast checker → · Palette generator →

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