#796D15#796D15

#796D15 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.0% C 0.103 H 101.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#796D15
RGBrgb(121, 109, 21)
HSLhsl(53, 70%, 28%)
HSVhsv(53, 83%, 47%)
CMYKcmyk(0%, 9.9%, 82.6%, 52.5%)
CIE-LABlab(45.71, -5.19, 46.64)
CIE-LCHlch(45.71, 46.93, 96.35°)
OKLaboklab(53.02% -0.0197 0.1011)
OKLCHoklch(53.02% 0.103 101)
XYZxyz(13.4898, 15.0570, 2.9051)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D15 #152179
analogous
#793B15 #796D15 #537915
triadic
#796D15 #15796D #6D1579
tetradic
#796D15 #15793B #152179 #791553
square
#796D15 #15793B #152179 #791553
split-complementary
#796D15 #155379 #3B1579
monochromatic
#1A1705 #453E0C #796D15 #AD9C1E #DBC62E

Accessibility & contrast

On white

5.24
#796D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#796D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D15
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D15#FFFFFF#000000##FFFFFF
##796D151.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#7C6E1C
Tritanopia (blue-blind)
#83645D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #796d15;
/* rgb */ color: rgb(121, 109, 21);
/* oklch */ color: oklch(53.0% 0.103 101.0);
Tailwind
colors: {
  custom: {
    50: '#a3965b',
    500: '#796d15',
    950: '#000000',
  },
}
SCSS
$custom: #796d15;
$custom-light: #a3965b;
$custom-dark: #000000;
JSON
{
  "hex": "#796d15",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 52.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.103,
    "h": 101
  },
  "luminance": 0.15056
}

Semantic roles & 50–950 ramp

primary
#796D15
secondary
#3B49AF
accent
#50ED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #796D15

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

Preview Lab → · Contrast checker → · Palette generator →

#796D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva