#797326#797326

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

Color values

HEX#797326
RGBrgb(121, 115, 38)
HSLhsl(56, 52%, 31%)
HSVhsv(56, 69%, 47%)
CMYKcmyk(0%, 5%, 68.6%, 52.5%)
CIE-LABlab(47.58, -7.72, 41.75)
CIE-LCHlch(47.58, 42.46, 100.47°)
OKLaboklab(54.55% -0.025 0.0941)
OKLCHoklch(54.55% 0.097 104.9)
XYZxyz(14.3663, 16.4669, 4.2550)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797326 #262C79
analogous
#794926 #797326 #557926
triadic
#797326 #267973 #732679
tetradic
#797326 #267949 #262C79 #792655
square
#797326 #267949 #262C79 #792655
split-complementary
#797326 #265579 #492679
monochromatic
#1C1A09 #4A4717 #797326 #A89F35 #C8C051

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797326#FFFFFF#000000##FFFFFF
##7973261.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)
#7D6F1C
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#826B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797326;
/* rgb */ color: rgb(121, 115, 38);
/* oklch */ color: oklch(54.5% 0.097 104.9);
Tailwind
colors: {
  custom: {
    50: '#a29b65',
    500: '#797326',
    950: '#000000',
  },
}
SCSS
$custom: #797326;
$custom-light: #a29b65;
$custom-dark: #000000;
JSON
{
  "hex": "#797326",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 38
  },
  "hsl": {
    "h": 55.663,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54546,
    "c": 0.09737,
    "h": 104.9
  },
  "luminance": 0.16466
}

Semantic roles & 50–950 ramp

primary
#797326
secondary
#5056AB
accent
#57DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797326

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

Preview Lab → · Contrast checker → · Palette generator →

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