#796E15#796E15

#796E15 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.3% C 0.104 H 101.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#796E15
RGBrgb(121, 110, 21)
HSLhsl(53, 70%, 28%)
HSVhsv(53, 83%, 47%)
CMYKcmyk(0%, 9.1%, 82.6%, 52.5%)
CIE-LABlab(46.00, -5.76, 46.90)
CIE-LCHlch(46.00, 47.25, 97.00°)
OKLaboklab(53.26% -0.0213 0.1017)
OKLCHoklch(53.26% 0.104 101.8)
XYZxyz(13.5971, 15.2716, 2.9408)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E15 #152079
analogous
#793C15 #796E15 #527915
triadic
#796E15 #15796E #6E1579
tetradic
#796E15 #15793C #152079 #791552
square
#796E15 #15793C #152079 #791552
split-complementary
#796E15 #155279 #3C1579
monochromatic
#1A1805 #453F0C #796E15 #AD9D1E #DBC82E

Accessibility & contrast

On white

5.18
#796E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#796E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E15
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E15#FFFFFF#000000##FFFFFF
##796E151.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7C6F1C
Tritanopia (blue-blind)
#83655E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e15;
/* rgb */ color: rgb(121, 110, 21);
/* oklch */ color: oklch(53.3% 0.104 101.8);
Tailwind
colors: {
  custom: {
    50: '#a3975c',
    500: '#796e15',
    950: '#000000',
  },
}
SCSS
$custom: #796e15;
$custom-light: #a3975c;
$custom-dark: #000000;
JSON
{
  "hex": "#796e15",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 53.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53256,
    "c": 0.10386,
    "h": 101.8
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

primary
#796E15
secondary
#3B48AF
accent
#4EED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #796E15

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

Preview Lab → · Contrast checker → · Palette generator →

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