#797448#797448

#797448 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.063 H 102.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#797448
RGBrgb(121, 116, 72)
HSLhsl(54, 25%, 38%)
HSVhsv(54, 40%, 47%)
CMYKcmyk(0%, 4.1%, 40.5%, 52.5%)
CIE-LABlab(48.29, -5.12, 25.00)
CIE-LCHlch(48.29, 25.52, 101.57°)
OKLaboklab(55.24% -0.0137 0.0612)
OKLCHoklch(55.24% 0.063 102.6)
XYZxyz(15.3005, 17.0240, 8.6096)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797448 #484D79
analogous
#795B48 #797448 #657948
triadic
#797448 #487974 #744879
tetradic
#797448 #48795B #484D79 #794865
square
#797448 #48795B #484D79 #794865
split-complementary
#797448 #486579 #5B4879
monochromatic
#2C2A1A #534F31 #797448 #9F995F #B6B185

Accessibility & contrast

On white

4.77
#797448 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#797448 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797448
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797448#FFFFFF#000000##FFFFFF
##7974481.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7145
Deuteranopia (green-blind)
#7D744A
Tritanopia (blue-blind)
#806E69
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797448;
/* rgb */ color: rgb(121, 116, 72);
/* oklch */ color: oklch(55.2% 0.063 102.6);
Tailwind
colors: {
  custom: {
    50: '#a09b7b',
    500: '#797448',
    950: '#000000',
  },
}
SCSS
$custom: #797448;
$custom-light: #a09b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#797448",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 72
  },
  "hsl": {
    "h": 53.878,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.06273,
    "h": 102.6
  },
  "luminance": 0.17024
}

Semantic roles & 50–950 ramp

primary
#797448
secondary
#7A7EA2
accent
#6FC266
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #797448

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

Preview Lab → · Contrast checker → · Palette generator →

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