#797349#797349

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

Color values

HEX#797349
RGBrgb(121, 115, 73)
HSLhsl(53, 25%, 38%)
HSVhsv(53, 40%, 47%)
CMYKcmyk(0%, 5%, 39.7%, 52.5%)
CIE-LABlab(48.02, -4.43, 24.09)
CIE-LCHlch(48.02, 24.49, 100.42°)
OKLaboklab(55.03% -0.0116 0.0592)
OKLCHoklch(55.03% 0.06 101.1)
XYZxyz(15.2187, 16.8079, 8.7446)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797349 #494F79
analogous
#795B49 #797349 #677949
triadic
#797349 #497973 #734979
tetradic
#797349 #49795B #494F79 #794967
square
#797349 #49795B #494F79 #794967
split-complementary
#797349 #496779 #5B4979
monochromatic
#2D2A1B #534F32 #797349 #9F9760 #B6B086

Accessibility & contrast

On white

4.81
#797349 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #797349
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797349#FFFFFF#000000##FFFFFF
##7973491.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797349;
/* rgb */ color: rgb(121, 115, 73);
/* oklch */ color: oklch(55.0% 0.060 101.1);
Tailwind
colors: {
  custom: {
    50: '#a09b7c',
    500: '#797349',
    950: '#000000',
  },
}
SCSS
$custom: #797349;
$custom-light: #a09b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#797349",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 73
  },
  "hsl": {
    "h": 52.5,
    "s": 24.742,
    "l": 38.039
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.06029,
    "h": 101.1
  },
  "luminance": 0.16807
}

Semantic roles & 50–950 ramp

primary
#797349
secondary
#7B80A2
accent
#72C167
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #797349

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

Preview Lab → · Contrast checker → · Palette generator →

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