#797A41#797A41

#797A41 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.079 H 109.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#797A41
RGBrgb(121, 122, 65)
HSLhsl(61, 30%, 37%)
HSVhsv(61, 47%, 48%)
CMYKcmyk(0.8%, 0%, 46.7%, 52.2%)
CIE-LABlab(49.94, -9.29, 30.93)
CIE-LCHlch(49.94, 32.30, 106.72°)
OKLaboklab(56.52% -0.0263 0.0741)
OKLCHoklch(56.52% 0.079 109.6)
XYZxyz(15.7991, 18.3660, 7.7127)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A41 #42417A
analogous
#7A5F41 #797A41 #5D7A41
triadic
#797A41 #41797A #7A4179
tetradic
#797A41 #417A5F #42417A #7A415D
square
#797A41 #417A5F #42417A #7A415D
split-complementary
#797A41 #415D7A #5F417A
monochromatic
#2A2A16 #51522C #797A41 #A1A256 #B8B97C

Accessibility & contrast

On white

4.49
#797A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#797A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A41
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A41#FFFFFF#000000##000000
##797A411.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82763C
Deuteranopia (green-blind)
#837844
Tritanopia (blue-blind)
#80746D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797a41;
/* rgb */ color: rgb(121, 122, 65);
/* oklch */ color: oklch(56.5% 0.079 109.6);
Tailwind
colors: {
  custom: {
    50: '#a1a077',
    500: '#797a41',
    950: '#000000',
  },
}
SCSS
$custom: #797a41;
$custom-light: #a1a077;
$custom-dark: #000000;
JSON
{
  "hex": "#797a41",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 65
  },
  "hsl": {
    "h": 61.053,
    "s": 30.481,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.07868,
    "h": 109.6
  },
  "luminance": 0.18366
}

Semantic roles & 50–950 ramp

primary
#797A41
secondary
#7473A4
accent
#61C763
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797A41

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

Preview Lab → · Contrast checker → · Palette generator →

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