#797328#797328

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

Color values

HEX#797328
RGBrgb(121, 115, 40)
HSLhsl(56, 50%, 32%)
HSVhsv(56, 67%, 47%)
CMYKcmyk(0%, 5%, 66.9%, 52.5%)
CIE-LABlab(47.60, -7.58, 40.87)
CIE-LCHlch(47.60, 41.56, 100.51°)
OKLaboklab(54.57% -0.0244 0.0926)
OKLCHoklch(54.57% 0.096 104.7)
XYZxyz(14.3994, 16.4801, 4.4296)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797328 #282E79
analogous
#794B28 #797328 #577928
triadic
#797328 #287973 #732879
tetradic
#797328 #28794B #282E79 #792857
square
#797328 #28794B #282E79 #792857
split-complementary
#797328 #285779 #4B2879
monochromatic
#1D1C0A #4B4719 #797328 #A79F37 #C7BE55

Accessibility & contrast

On white

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

On black

4.30
#797328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##797328#FFFFFF#000000##FFFFFF
##7973281.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797328;
/* rgb */ color: rgb(121, 115, 40);
/* oklch */ color: oklch(54.6% 0.096 104.7);
Tailwind
colors: {
  custom: {
    50: '#a29b66',
    500: '#797328',
    950: '#000000',
  },
}
SCSS
$custom: #797328;
$custom-light: #a29b66;
$custom-dark: #000000;
JSON
{
  "hex": "#797328",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 55.556,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.09573,
    "h": 104.7
  },
  "luminance": 0.1648
}

Semantic roles & 50–950 ramp

primary
#797328
secondary
#5258AB
accent
#58DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797328

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

Preview Lab → · Contrast checker → · Palette generator →

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