#797A32#797A32

#797A32 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.095 H 109.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#797A32
RGBrgb(121, 122, 50)
HSLhsl(61, 42%, 34%)
HSVhsv(61, 59%, 48%)
CMYKcmyk(0.8%, 0%, 59%, 52.2%)
CIE-LABlab(49.76, -10.72, 38.47)
CIE-LCHlch(49.76, 39.93, 105.58°)
OKLaboklab(56.32% -0.0321 0.089)
OKLCHoklch(56.32% 0.095 109.8)
XYZxyz(15.4208, 18.2147, 5.7204)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A32 #33327A
analogous
#7A5732 #797A32 #557A32
triadic
#797A32 #32797A #7A3279
tetradic
#797A32 #327A57 #33327A #7A3255
square
#797A32 #327A57 #33327A #7A3255
split-complementary
#797A32 #32557A #57327A
monochromatic
#23230E #4E4F20 #797A32 #A4A544 #BFC066

Accessibility & contrast

On white

4.52
#797A32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#797A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A32
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A32#FFFFFF#000000##000000
##797A321.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83752A
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#81736A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797a32;
/* rgb */ color: rgb(121, 122, 50);
/* oklch */ color: oklch(56.3% 0.095 109.8);
Tailwind
colors: {
  custom: {
    50: '#a2a06d',
    500: '#797a32',
    950: '#000000',
  },
}
SCSS
$custom: #797a32;
$custom-light: #a2a06d;
$custom-dark: #000000;
JSON
{
  "hex": "#797a32",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 50
  },
  "hsl": {
    "h": 60.833,
    "s": 41.86,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56315,
    "c": 0.09457,
    "h": 109.8
  },
  "luminance": 0.18214
}

Semantic roles & 50–950 ramp

primary
#797A32
secondary
#6160A8
accent
#56D258
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797A32

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

Preview Lab → · Contrast checker → · Palette generator →

#797A32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva