#797E32#797E32

#797E32 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.099 H 112.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#797E32
RGBrgb(121, 126, 50)
HSLhsl(64, 43%, 35%)
HSVhsv(64, 60%, 49%)
CMYKcmyk(4%, 0%, 60.3%, 50.6%)
CIE-LABlab(50.94, -12.91, 39.79)
CIE-LCHlch(50.94, 41.83, 107.98°)
OKLaboklab(57.26% -0.0382 0.0918)
OKLCHoklch(57.26% 0.099 112.6)
XYZxyz(15.9221, 19.2173, 5.8875)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E32 #37327E
analogous
#7E5D32 #797E32 #537E32
triadic
#797E32 #32797E #7E3279
tetradic
#797E32 #327E5D #37327E #7E3253
square
#797E32 #327E5D #37327E #7E3253
split-complementary
#797E32 #32537E #5D327E
monochromatic
#25260F #4F5221 #797E32 #A3AA43 #BDC368

Accessibility & contrast

On white

4.34
#797E32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#797E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E32
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E32#FFFFFF#000000##000000
##797E321.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87782A
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#81776E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797e32;
/* rgb */ color: rgb(121, 126, 50);
/* oklch */ color: oklch(57.3% 0.099 112.6);
Tailwind
colors: {
  custom: {
    50: '#a2a36d',
    500: '#797e32',
    950: '#000000',
  },
}
SCSS
$custom: #797e32;
$custom-light: #a2a36d;
$custom-dark: #000000;
JSON
{
  "hex": "#797e32",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 50
  },
  "hsl": {
    "h": 63.947,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57261,
    "c": 0.09943,
    "h": 112.6
  },
  "luminance": 0.19217
}

Semantic roles & 50–950 ramp

primary
#797E32
secondary
#6661AB
accent
#55D35D
background
#FAFAF6
surface
#F4F3EC
border
#CECDC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #797E32

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

Preview Lab → · Contrast checker → · Palette generator →

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