#797153#797153

#797153 is a mid, muted yellow. Relative luminance 0.165; OKLCH L 54.8% C 0.045 H 94.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#797153
RGBrgb(121, 113, 83)
HSLhsl(47, 19%, 40%)
HSVhsv(47, 31%, 47%)
CMYKcmyk(0%, 6.6%, 31.4%, 52.5%)
CIE-LABlab(47.62, -1.94, 17.81)
CIE-LCHlch(47.62, 17.92, 96.23°)
OKLaboklab(54.78% -0.0039 0.0448)
OKLCHoklch(54.78% 0.045 94.9)
XYZxyz(15.3518, 16.5001, 10.5581)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797153 #535B79
analogous
#795E53 #797153 #6E7953
triadic
#797153 #537971 #715379
tetradic
#797153 #53795E #535B79 #79536E
square
#797153 #53795E #535B79 #79536E
split-complementary
#797153 #536E79 #5E5379
monochromatic
#302D21 #554F3A #797153 #9B926E #B4AD92

Accessibility & contrast

On white

4.88
#797153 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#797153 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797153
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797153#FFFFFF#000000##FFFFFF
##7971531.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F51
Deuteranopia (green-blind)
#797254
Tritanopia (blue-blind)
#7F6D69
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797153;
/* rgb */ color: rgb(121, 113, 83);
/* oklch */ color: oklch(54.8% 0.045 94.9);
Tailwind
colors: {
  custom: {
    50: '#a09983',
    500: '#797153',
    950: '#000000',
  },
}
SCSS
$custom: #797153;
$custom-light: #a09983;
$custom-dark: #000000;
JSON
{
  "hex": "#797153",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 83
  },
  "hsl": {
    "h": 47.368,
    "s": 18.627,
    "l": 40
  },
  "oklch": {
    "l": 0.54782,
    "c": 0.04494,
    "h": 94.9
  },
  "luminance": 0.165
}

Semantic roles & 50–950 ramp

primary
#797153
secondary
#868CA2
accent
#7DBB6D
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #797153

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

Preview Lab → · Contrast checker → · Palette generator →

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