#797652#797652

#797652 is a mid, muted yellow. Relative luminance 0.176; OKLCH L 55.9% C 0.052 H 103.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#797652
RGBrgb(121, 118, 82)
HSLhsl(55, 19%, 40%)
HSVhsv(55, 32%, 47%)
CMYKcmyk(0%, 2.5%, 32.2%, 52.5%)
CIE-LABlab(49.05, -4.95, 20.30)
CIE-LCHlch(49.05, 20.89, 103.70°)
OKLaboklab(55.9% -0.0125 0.0507)
OKLCHoklch(55.9% 0.052 103.9)
XYZxyz(15.8867, 17.6313, 10.5473)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797652 #525579
analogous
#796352 #797652 #687952
triadic
#797652 #527976 #765279
tetradic
#797652 #527963 #525579 #795268
square
#797652 #527963 #525579 #795268
split-complementary
#797652 #526879 #635279
monochromatic
#302F21 #555239 #797652 #9C986C #B4B291

Accessibility & contrast

On white

4.64
#797652 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#797652 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797652
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797652#FFFFFF#000000##FFFFFF
##7976521.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7350
Deuteranopia (green-blind)
#7E7553
Tritanopia (blue-blind)
#7F716D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797652;
/* rgb */ color: rgb(121, 118, 82);
/* oklch */ color: oklch(55.9% 0.052 103.9);
Tailwind
colors: {
  custom: {
    50: '#a09d83',
    500: '#797652',
    950: '#000000',
  },
}
SCSS
$custom: #797652;
$custom-light: #a09d83;
$custom-dark: #000000;
JSON
{
  "hex": "#797652",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 82
  },
  "hsl": {
    "h": 55.385,
    "s": 19.212,
    "l": 39.804
  },
  "oklch": {
    "l": 0.559,
    "c": 0.05218,
    "h": 103.9
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#797652
secondary
#8587A2
accent
#72BC6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #797652

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

Preview Lab → · Contrast checker → · Palette generator →

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