#797348#797348

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

Color values

HEX#797348
RGBrgb(121, 115, 72)
HSLhsl(53, 25%, 38%)
HSVhsv(53, 40%, 47%)
CMYKcmyk(0%, 5%, 40.5%, 52.5%)
CIE-LABlab(48.00, -4.55, 24.63)
CIE-LCHlch(48.00, 25.05, 100.47°)
OKLaboklab(55.02% -0.0121 0.0604)
OKLCHoklch(55.02% 0.062 101.3)
XYZxyz(15.1859, 16.7947, 8.5714)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797348 #484E79
analogous
#795A48 #797348 #667948
triadic
#797348 #487973 #734879
tetradic
#797348 #48795A #484E79 #794866
square
#797348 #48795A #484E79 #794866
split-complementary
#797348 #486679 #5A4879
monochromatic
#2C2A1A #534F31 #797348 #9F975F #B6B085

Accessibility & contrast

On white

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

On black

4.36
#797348 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##797348#FFFFFF#000000##FFFFFF
##7973481.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797348;
/* rgb */ color: rgb(121, 115, 72);
/* oklch */ color: oklch(55.0% 0.062 101.3);
Tailwind
colors: {
  custom: {
    50: '#a09b7b',
    500: '#797348',
    950: '#000000',
  },
}
SCSS
$custom: #797348;
$custom-light: #a09b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#797348",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 72
  },
  "hsl": {
    "h": 52.653,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55015,
    "c": 0.06156,
    "h": 101.3
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

primary
#797348
secondary
#7A7FA2
accent
#71C266
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #797348

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

Preview Lab → · Contrast checker → · Palette generator →

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