#797346#797346

#797346 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.064 H 101.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#797346
RGBrgb(121, 115, 70)
HSLhsl(53, 27%, 37%)
HSVhsv(53, 42%, 47%)
CMYKcmyk(0%, 5%, 42.1%, 52.5%)
CIE-LABlab(47.97, -4.79, 25.72)
CIE-LCHlch(47.97, 26.16, 100.56°)
OKLaboklab(54.98% -0.0129 0.0627)
OKLCHoklch(54.98% 0.064 101.7)
XYZxyz(15.1217, 16.7690, 8.2333)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797346 #464C79
analogous
#795946 #797346 #667946
triadic
#797346 #467973 #734679
tetradic
#797346 #467959 #464C79 #794666
square
#797346 #467959 #464C79 #794666
split-complementary
#797346 #466679 #594679
monochromatic
#2B2919 #524E30 #797346 #A0985C #B7B182

Accessibility & contrast

On white

4.82
#797346 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#797346 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797346
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797346#FFFFFF#000000##FFFFFF
##7973461.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7043
Deuteranopia (green-blind)
#7D7348
Tritanopia (blue-blind)
#806D68
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797346;
/* rgb */ color: rgb(121, 115, 70);
/* oklch */ color: oklch(55.0% 0.064 101.7);
Tailwind
colors: {
  custom: {
    50: '#a19b7a',
    500: '#797346',
    950: '#000000',
  },
}
SCSS
$custom: #797346;
$custom-light: #a19b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#797346",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 70
  },
  "hsl": {
    "h": 52.941,
    "s": 26.702,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54978,
    "c": 0.06406,
    "h": 101.7
  },
  "luminance": 0.16769
}

Semantic roles & 50–950 ramp

primary
#797346
secondary
#787DA3
accent
#70C365
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797346

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

Preview Lab → · Contrast checker → · Palette generator →

#797346 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva