#797C32#797C32

#797C32 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.097 H 111.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#797C32
RGBrgb(121, 124, 50)
HSLhsl(62, 43%, 34%)
HSVhsv(62, 60%, 49%)
CMYKcmyk(2.4%, 0%, 59.7%, 51.4%)
CIE-LABlab(50.35, -11.82, 39.13)
CIE-LCHlch(50.35, 40.87, 106.81°)
OKLaboklab(56.79% -0.0352 0.0904)
OKLCHoklch(56.79% 0.097 111.3)
XYZxyz(15.6689, 18.7109, 5.8031)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C32 #35327C
analogous
#7C5A32 #797C32 #547C32
triadic
#797C32 #32797C #7C3279
tetradic
#797C32 #327C5A #35327C #7C3254
square
#797C32 #327C5A #35327C #7C3254
split-complementary
#797C32 #32547C #5A327C
monochromatic
#24250F #4E5020 #797C32 #A4A844 #BEC267

Accessibility & contrast

On white

4.43
#797C32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#797C32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C32
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C32#FFFFFF#000000##000000
##797C321.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85772A
Deuteranopia (green-blind)
#857936
Tritanopia (blue-blind)
#81756C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797c32;
/* rgb */ color: rgb(121, 124, 50);
/* oklch */ color: oklch(56.8% 0.097 111.3);
Tailwind
colors: {
  custom: {
    50: '#a2a16d',
    500: '#797c32',
    950: '#000000',
  },
}
SCSS
$custom: #797c32;
$custom-light: #a2a16d;
$custom-dark: #000000;
JSON
{
  "hex": "#797c32",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 50
  },
  "hsl": {
    "h": 62.432,
    "s": 42.529,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.09698,
    "h": 111.3
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#797C32
secondary
#6361A9
accent
#55D25B
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #797C32

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

Preview Lab → · Contrast checker → · Palette generator →

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