#797A39#797A39

#797A39 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.088 H 109.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#797A39
RGBrgb(121, 122, 57)
HSLhsl(61, 36%, 35%)
HSVhsv(61, 53%, 48%)
CMYKcmyk(0.8%, 0%, 53.3%, 52.2%)
CIE-LABlab(49.83, -10.10, 35.03)
CIE-LCHlch(49.83, 36.46, 106.09°)
OKLaboklab(56.4% -0.0295 0.0824)
OKLCHoklch(56.4% 0.088 109.7)
XYZxyz(15.5836, 18.2798, 6.5775)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A39 #3A397A
analogous
#7A5A39 #797A39 #587A39
triadic
#797A39 #39797A #7A3979
tetradic
#797A39 #397A5A #3A397A #7A3958
square
#797A39 #397A5A #3A397A #7A3958
split-complementary
#797A39 #39587A #5A397A
monochromatic
#262712 #505026 #797A39 #A2A44C #BBBD71

Accessibility & contrast

On white

4.51
#797A39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#797A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A39
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A39#FFFFFF#000000##000000
##797A391.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837533
Deuteranopia (green-blind)
#83783C
Tritanopia (blue-blind)
#81736B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797a39;
/* rgb */ color: rgb(121, 122, 57);
/* oklch */ color: oklch(56.4% 0.088 109.7);
Tailwind
colors: {
  custom: {
    50: '#a1a071',
    500: '#797a39',
    950: '#000000',
  },
}
SCSS
$custom: #797a39;
$custom-light: #a1a071;
$custom-dark: #000000;
JSON
{
  "hex": "#797a39",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 57
  },
  "hsl": {
    "h": 60.923,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.08753,
    "h": 109.7
  },
  "luminance": 0.18279
}

Semantic roles & 50–950 ramp

primary
#797A39
secondary
#6A69A6
accent
#5BCC5D
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #797A39

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

Preview Lab → · Contrast checker → · Palette generator →

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