#797D32#797D32

#797D32 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.098 H 112.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#797D32
RGBrgb(121, 125, 50)
HSLhsl(63, 43%, 34%)
HSVhsv(63, 60%, 49%)
CMYKcmyk(3.2%, 0%, 60%, 51%)
CIE-LABlab(50.64, -12.36, 39.46)
CIE-LCHlch(50.64, 41.35, 107.40°)
OKLaboklab(57.02% -0.0367 0.0911)
OKLCHoklch(57.02% 0.098 112)
XYZxyz(15.7949, 18.9628, 5.8451)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D32 #36327D
analogous
#7D5C32 #797D32 #547D32
triadic
#797D32 #32797D #7D3279
tetradic
#797D32 #327D5C #36327D #7D3254
square
#797D32 #327D5C #36327D #7D3254
split-complementary
#797D32 #32547D #5C327D
monochromatic
#24260F #4F5121 #797D32 #A3A943 #BDC267

Accessibility & contrast

On white

4.38
#797D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#797D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D32
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D32#FFFFFF#000000##000000
##797D321.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86782A
Deuteranopia (green-blind)
#867A36
Tritanopia (blue-blind)
#81766D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797d32;
/* rgb */ color: rgb(121, 125, 50);
/* oklch */ color: oklch(57.0% 0.098 112.0);
Tailwind
colors: {
  custom: {
    50: '#a2a26d',
    500: '#797d32',
    950: '#000000',
  },
}
SCSS
$custom: #797d32;
$custom-light: #a2a26d;
$custom-dark: #000000;
JSON
{
  "hex": "#797d32",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 63.2,
    "s": 42.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.0982,
    "h": 112
  },
  "luminance": 0.18962
}

Semantic roles & 50–950 ramp

primary
#797D32
secondary
#6561AA
accent
#55D35C
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #797D32

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

Preview Lab → · Contrast checker → · Palette generator →

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