#796824#796824

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

Color values

HEX#796824
RGBrgb(121, 104, 36)
HSLhsl(48, 54%, 31%)
HSVhsv(48, 70%, 47%)
CMYKcmyk(0%, 14%, 70.2%, 52.5%)
CIE-LABlab(44.37, -1.57, 39.32)
CIE-LCHlch(44.37, 39.35, 92.29°)
OKLaboklab(51.99% -0.0077 0.0886)
OKLCHoklch(51.99% 0.089 95)
XYZxyz(13.1545, 14.0936, 3.6962)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796824 #243579
analogous
#793D24 #796824 #5F7924
triadic
#796824 #247968 #682479
tetradic
#796824 #24793D #243579 #79245F
square
#796824 #24793D #243579 #79245F
split-complementary
#796824 #245F79 #3D2479
monochromatic
#1B1708 #4A3F16 #796824 #A89132 #CAB14D

Accessibility & contrast

On white

5.50
#796824 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#796824 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796824
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796824#FFFFFF#000000##FFFFFF
##7968241.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661B
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#83605A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #796824;
/* rgb */ color: rgb(121, 104, 36);
/* oklch */ color: oklch(52.0% 0.089 95.0);
Tailwind
colors: {
  custom: {
    50: '#a39263',
    500: '#796824',
    950: '#000000',
  },
}
SCSS
$custom: #796824;
$custom-light: #a39263;
$custom-dark: #000000;
JSON
{
  "hex": "#796824",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 36
  },
  "hsl": {
    "h": 48,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.08895,
    "h": 95
  },
  "luminance": 0.14093
}

Semantic roles & 50–950 ramp

primary
#796824
secondary
#4D60AC
accent
#68DE4A
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D05
muted
#7F7D7A

Preview Lab

Preview with #796824

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

Preview Lab → · Contrast checker → · Palette generator →

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