#797A3D#797A3D

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

Color values

HEX#797A3D
RGBrgb(121, 122, 61)
HSLhsl(61, 33%, 36%)
HSVhsv(61, 50%, 48%)
CMYKcmyk(0.8%, 0%, 50%, 52.2%)
CIE-LABlab(49.88, -9.71, 33.00)
CIE-LCHlch(49.88, 34.40, 106.40°)
OKLaboklab(56.46% -0.0279 0.0784)
OKLCHoklch(56.46% 0.083 109.6)
XYZxyz(15.6873, 18.3213, 7.1240)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A3D #3E3D7A
analogous
#7A5C3D #797A3D #5A7A3D
triadic
#797A3D #3D797A #7A3D79
tetradic
#797A3D #3D7A5C #3E3D7A #7A3D5A
square
#797A3D #3D7A5C #3E3D7A #7A3D5A
split-complementary
#797A3D #3D5A7A #5C3D7A
monochromatic
#282814 #515129 #797A3D #A1A351 #BABB77

Accessibility & contrast

On white

4.50
#797A3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##797A3D#FFFFFF#000000##000000
##797A3D1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#827638
Deuteranopia (green-blind)
#837840
Tritanopia (blue-blind)
#80746C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797a3d;
/* rgb */ color: rgb(121, 122, 61);
/* oklch */ color: oklch(56.5% 0.083 109.6);
Tailwind
colors: {
  custom: {
    50: '#a1a074',
    500: '#797a3d',
    950: '#000000',
  },
}
SCSS
$custom: #797a3d;
$custom-light: #a1a074;
$custom-dark: #000000;
JSON
{
  "hex": "#797a3d",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 61
  },
  "hsl": {
    "h": 60.984,
    "s": 33.333,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.0832,
    "h": 109.6
  },
  "luminance": 0.18321
}

Semantic roles & 50–950 ramp

primary
#797A3D
secondary
#6F6EA5
accent
#5EC960
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #797A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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