#796829#796829

#796829 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.0% C 0.085 H 94.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#796829
RGBrgb(121, 104, 41)
HSLhsl(47, 49%, 32%)
HSVhsv(47, 66%, 47%)
CMYKcmyk(0%, 14%, 66.1%, 52.5%)
CIE-LABlab(44.41, -1.24, 36.98)
CIE-LCHlch(44.41, 37.00, 91.91°)
OKLaboklab(52.04% -0.0061 0.0845)
OKLCHoklch(52.04% 0.085 94.1)
XYZxyz(13.2363, 14.1263, 4.1269)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796829 #293A79
analogous
#794029 #796829 #627929
triadic
#796829 #297968 #682979
tetradic
#796829 #297940 #293A79 #792962
square
#796829 #297940 #293A79 #792962
split-complementary
#796829 #296279 #402979
monochromatic
#1E190A #4B411A #796829 #A78F38 #C6AE56

Accessibility & contrast

On white

5.49
#796829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#796829 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796829
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796829#FFFFFF#000000##FFFFFF
##7968291.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736622
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#83605A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #796829;
/* rgb */ color: rgb(121, 104, 41);
/* oklch */ color: oklch(52.0% 0.085 94.1);
Tailwind
colors: {
  custom: {
    50: '#a29266',
    500: '#796829',
    950: '#000000',
  },
}
SCSS
$custom: #796829;
$custom-light: #a29266;
$custom-dark: #000000;
JSON
{
  "hex": "#796829",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 41
  },
  "hsl": {
    "h": 47.25,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.08472,
    "h": 94.1
  },
  "luminance": 0.14126
}

Semantic roles & 50–950 ramp

primary
#796829
secondary
#5366AB
accent
#6CD94F
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D06
muted
#7F7D7A

Preview Lab

Preview with #796829

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

Preview Lab → · Contrast checker → · Palette generator →

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