#797324#797324

#797324 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.5% C 0.099 H 105.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#797324
RGBrgb(121, 115, 36)
HSLhsl(56, 54%, 31%)
HSVhsv(56, 70%, 47%)
CMYKcmyk(0%, 5%, 70.2%, 52.5%)
CIE-LABlab(47.56, -7.84, 42.62)
CIE-LCHlch(47.56, 43.33, 100.42°)
OKLaboklab(54.53% -0.0256 0.0956)
OKLCHoklch(54.53% 0.099 105)
XYZxyz(14.3349, 16.4543, 4.0896)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797324 #242A79
analogous
#794824 #797324 #547924
triadic
#797324 #247973 #732479
tetradic
#797324 #247948 #242A79 #792454
square
#797324 #247948 #242A79 #792454
split-complementary
#797324 #245479 #482479
monochromatic
#1B1908 #4A4616 #797324 #A8A032 #CAC14D

Accessibility & contrast

On white

4.89
#797324 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#797324 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797324
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797324#FFFFFF#000000##FFFFFF
##7973241.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F19
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#826B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797324;
/* rgb */ color: rgb(121, 115, 36);
/* oklch */ color: oklch(54.5% 0.099 105.0);
Tailwind
colors: {
  custom: {
    50: '#a29b64',
    500: '#797324',
    950: '#000000',
  },
}
SCSS
$custom: #797324;
$custom-light: #a29b64;
$custom-dark: #000000;
JSON
{
  "hex": "#797324",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 36
  },
  "hsl": {
    "h": 55.765,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.09894,
    "h": 105
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#797324
secondary
#4D54AC
accent
#55DE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797324

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

Preview Lab → · Contrast checker → · Palette generator →

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