#796924#796924

#796924 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.2% C 0.090 H 96.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#796924
RGBrgb(121, 105, 36)
HSLhsl(49, 54%, 31%)
HSVhsv(49, 70%, 47%)
CMYKcmyk(0%, 13.2%, 70.2%, 52.5%)
CIE-LABlab(44.65, -2.15, 39.62)
CIE-LCHlch(44.65, 39.68, 93.10°)
OKLaboklab(52.22% -0.0094 0.0893)
OKLCHoklch(52.22% 0.09 96)
XYZxyz(13.2558, 14.2961, 3.7299)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796924 #243479
analogous
#793E24 #796924 #5E7924
triadic
#796924 #247969 #692479
tetradic
#796924 #24793E #243479 #79245E
square
#796924 #24793E #243479 #79245E
split-complementary
#796924 #245E79 #3E2479
monochromatic
#1B1708 #4A4016 #796924 #A89232 #CAB34D

Accessibility & contrast

On white

5.44
#796924 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#796924 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796924
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796924#FFFFFF#000000##FFFFFF
##7969241.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796924;
/* rgb */ color: rgb(121, 105, 36);
/* oklch */ color: oklch(52.2% 0.090 96.0);
Tailwind
colors: {
  custom: {
    50: '#a39363',
    500: '#796924',
    950: '#000000',
  },
}
SCSS
$custom: #796924;
$custom-light: #a39363;
$custom-dark: #000000;
JSON
{
  "hex": "#796924",
  "rgb": {
    "r": 121,
    "g": 105,
    "b": 36
  },
  "hsl": {
    "h": 48.706,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.08974,
    "h": 96
  },
  "luminance": 0.14295
}

Semantic roles & 50–950 ramp

primary
#796924
secondary
#4D5FAC
accent
#66DE4A
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D05
muted
#7F7E7A

Preview Lab

Preview with #796924

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

Preview Lab → · Contrast checker → · Palette generator →

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