#797341#797341

#797341 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.070 H 102.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#797341
RGBrgb(121, 115, 65)
HSLhsl(54, 30%, 36%)
HSVhsv(54, 46%, 47%)
CMYKcmyk(0%, 5%, 46.3%, 52.5%)
CIE-LABlab(47.89, -5.37, 28.40)
CIE-LCHlch(47.89, 28.91, 100.70°)
OKLaboklab(54.89% -0.0151 0.0685)
OKLCHoklch(54.89% 0.07 102.4)
XYZxyz(14.9704, 16.7085, 7.4365)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797341 #414779
analogous
#795741 #797341 #637941
triadic
#797341 #417973 #734179
tetradic
#797341 #417957 #414779 #794163
square
#797341 #417957 #414779 #794163
split-complementary
#797341 #416379 #574179
monochromatic
#292716 #514D2C #797341 #A19956 #B9B27C

Accessibility & contrast

On white

4.84
#797341 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#797341 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797341
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797341#FFFFFF#000000##FFFFFF
##7973411.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703D
Deuteranopia (green-blind)
#7D7343
Tritanopia (blue-blind)
#806D67
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797341;
/* rgb */ color: rgb(121, 115, 65);
/* oklch */ color: oklch(54.9% 0.070 102.4);
Tailwind
colors: {
  custom: {
    50: '#a19b76',
    500: '#797341',
    950: '#000000',
  },
}
SCSS
$custom: #797341;
$custom-light: #a19b76;
$custom-dark: #000000;
JSON
{
  "hex": "#797341",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 65
  },
  "hsl": {
    "h": 53.571,
    "s": 30.108,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.07014,
    "h": 102.4
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#797341
secondary
#7278A3
accent
#6CC661
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #797341

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

Preview Lab → · Contrast checker → · Palette generator →

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