#797624#797624

#797624 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.2% C 0.102 H 107.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#797624
RGBrgb(121, 118, 36)
HSLhsl(58, 54%, 31%)
HSVhsv(58, 70%, 47%)
CMYKcmyk(0%, 2.5%, 70.2%, 52.5%)
CIE-LABlab(48.45, -9.51, 43.51)
CIE-LCHlch(48.45, 44.54, 102.33°)
OKLaboklab(55.23% -0.0303 0.0975)
OKLCHoklch(55.23% 0.102 107.3)
XYZxyz(14.6826, 17.1497, 4.2055)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797624 #242779
analogous
#794B24 #797624 #517924
triadic
#797624 #247976 #762479
tetradic
#797624 #24794B #242779 #792451
square
#797624 #24794B #242779 #792451
split-complementary
#797624 #245179 #4B2479
monochromatic
#1B1A08 #4A4816 #797624 #A8A432 #CAC64D

Accessibility & contrast

On white

4.74
#797624 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#797624 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797624
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797624#FFFFFF#000000##FFFFFF
##7976241.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807118
Deuteranopia (green-blind)
#827429
Tritanopia (blue-blind)
#826E66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797624;
/* rgb */ color: rgb(121, 118, 36);
/* oklch */ color: oklch(55.2% 0.102 107.3);
Tailwind
colors: {
  custom: {
    50: '#a29d64',
    500: '#797624',
    950: '#000000',
  },
}
SCSS
$custom: #797624;
$custom-light: #a29d64;
$custom-dark: #000000;
JSON
{
  "hex": "#797624",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 36
  },
  "hsl": {
    "h": 57.882,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55232,
    "c": 0.10206,
    "h": 107.3
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#797624
secondary
#4D51AC
accent
#4FDE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797624

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

Preview Lab → · Contrast checker → · Palette generator →

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