#797648#797648

#797648 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.065 H 105.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#797648
RGBrgb(121, 118, 72)
HSLhsl(56, 25%, 38%)
HSVhsv(56, 40%, 47%)
CMYKcmyk(0%, 2.5%, 40.5%, 52.5%)
CIE-LABlab(48.87, -6.25, 25.75)
CIE-LCHlch(48.87, 26.50, 103.65°)
OKLaboklab(55.71% -0.017 0.0629)
OKLCHoklch(55.71% 0.065 105.1)
XYZxyz(15.5335, 17.4901, 8.6873)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797648 #484B79
analogous
#795D48 #797648 #637948
triadic
#797648 #487976 #764879
tetradic
#797648 #48795D #484B79 #794863
square
#797648 #48795D #484B79 #794863
split-complementary
#797648 #486379 #5D4879
monochromatic
#2C2B1A #535131 #797648 #9F9B5F #B6B385

Accessibility & contrast

On white

4.67
#797648 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#797648 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797648
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797648#FFFFFF#000000##FFFFFF
##7976481.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7345
Deuteranopia (green-blind)
#7F754A
Tritanopia (blue-blind)
#80706B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797648;
/* rgb */ color: rgb(121, 118, 72);
/* oklch */ color: oklch(55.7% 0.065 105.1);
Tailwind
colors: {
  custom: {
    50: '#a09d7b',
    500: '#797648',
    950: '#000000',
  },
}
SCSS
$custom: #797648;
$custom-light: #a09d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#797648",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 72
  },
  "hsl": {
    "h": 56.327,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55705,
    "c": 0.06517,
    "h": 105.1
  },
  "luminance": 0.1749
}

Semantic roles & 50–950 ramp

primary
#797648
secondary
#7A7DA2
accent
#6CC266
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #797648

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

Preview Lab → · Contrast checker → · Palette generator →

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