#796934#796934

#796934 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.4% C 0.075 H 92.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#796934
RGBrgb(121, 105, 52)
HSLhsl(46, 40%, 34%)
HSVhsv(46, 57%, 47%)
CMYKcmyk(0%, 13.2%, 57%, 52.5%)
CIE-LABlab(44.82, -0.93, 31.77)
CIE-LCHlch(44.82, 31.78, 91.68°)
OKLaboklab(52.41% -0.0038 0.0748)
OKLCHoklch(52.41% 0.075 92.9)
XYZxyz(13.5571, 14.4167, 5.3167)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796934 #344479
analogous
#794734 #796934 #677934
triadic
#796934 #347969 #693479
tetradic
#796934 #347947 #344479 #793467
square
#796934 #347947 #344479 #793467
split-complementary
#796934 #346779 #473479
monochromatic
#231F0F #4E4422 #796934 #A48E46 #BEAB69

Accessibility & contrast

On white

5.41
#796934 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#796934 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796934
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796934#FFFFFF#000000##FFFFFF
##7969341.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672F
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#82625D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796934;
/* rgb */ color: rgb(121, 105, 52);
/* oklch */ color: oklch(52.4% 0.075 92.9);
Tailwind
colors: {
  custom: {
    50: '#a2936d',
    500: '#796934',
    950: '#000000',
  },
}
SCSS
$custom: #796934;
$custom-light: #a2936d;
$custom-dark: #000000;
JSON
{
  "hex": "#796934",
  "rgb": {
    "r": 121,
    "g": 105,
    "b": 52
  },
  "hsl": {
    "h": 46.087,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52407,
    "c": 0.07487,
    "h": 92.9
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#796934
secondary
#6272A7
accent
#74D058
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796934

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

Preview Lab → · Contrast checker → · Palette generator →

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