#796929#796929

#796929 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.3% C 0.086 H 95.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#796929
RGBrgb(121, 105, 41)
HSLhsl(48, 49%, 32%)
HSVhsv(48, 66%, 47%)
CMYKcmyk(0%, 13.2%, 66.1%, 52.5%)
CIE-LABlab(44.70, -1.82, 37.29)
CIE-LCHlch(44.70, 37.34, 92.79°)
OKLaboklab(52.27% -0.0078 0.0852)
OKLCHoklch(52.27% 0.086 95.2)
XYZxyz(13.3376, 14.3289, 4.1606)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796929 #293979
analogous
#794129 #796929 #617929
triadic
#796929 #297969 #692979
tetradic
#796929 #297941 #293979 #792961
square
#796929 #297941 #293979 #792961
split-complementary
#796929 #296179 #412979
monochromatic
#1E1A0A #4B411A #796929 #A79138 #C6B056

Accessibility & contrast

On white

5.43
#796929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#796929 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796929
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796929#FFFFFF#000000##FFFFFF
##7969291.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746722
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#83615B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796929;
/* rgb */ color: rgb(121, 105, 41);
/* oklch */ color: oklch(52.3% 0.086 95.2);
Tailwind
colors: {
  custom: {
    50: '#a29366',
    500: '#796929',
    950: '#000000',
  },
}
SCSS
$custom: #796929;
$custom-light: #a29366;
$custom-dark: #000000;
JSON
{
  "hex": "#796929",
  "rgb": {
    "r": 121,
    "g": 105,
    "b": 41
  },
  "hsl": {
    "h": 48,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.08552,
    "h": 95.2
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#796929
secondary
#5365AB
accent
#6AD94F
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796929

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

Preview Lab → · Contrast checker → · Palette generator →

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