#797932#797932

#797932 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.093 H 109.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#797932
RGBrgb(121, 121, 50)
HSLhsl(60, 42%, 34%)
HSVhsv(60, 59%, 47%)
CMYKcmyk(0%, 0%, 58.7%, 52.5%)
CIE-LABlab(49.46, -10.17, 38.13)
CIE-LCHlch(49.46, 39.47, 104.94°)
OKLaboklab(56.08% -0.0305 0.0883)
OKLCHoklch(56.08% 0.093 109.1)
XYZxyz(15.2987, 17.9704, 5.6797)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797932 #323279
analogous
#795532 #797932 #557932
triadic
#797932 #327979 #793279
tetradic
#797932 #327955 #323279 #793255
square
#797932 #327955 #323279 #793255
split-complementary
#797932 #325579 #553279
monochromatic
#22220E #4E4E20 #797932 #A4A444 #C0C066

Accessibility & contrast

On white

4.57
#797932 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#797932 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797932
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797932#FFFFFF#000000##000000
##7979321.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82742A
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#81726A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797932;
/* rgb */ color: rgb(121, 121, 50);
/* oklch */ color: oklch(56.1% 0.093 109.1);
Tailwind
colors: {
  custom: {
    50: '#a29f6d',
    500: '#797932',
    950: '#000000',
  },
}
SCSS
$custom: #797932;
$custom-light: #a29f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#797932",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56079,
    "c": 0.09338,
    "h": 109.1
  },
  "luminance": 0.1797
}

Semantic roles & 50–950 ramp

primary
#797932
secondary
#5F5FA7
accent
#56D156
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797932

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

Preview Lab → · Contrast checker → · Palette generator →

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