#796119#796119

#796119 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 50.3% C 0.092 H 89.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#796119
RGBrgb(121, 97, 25)
HSLhsl(45, 66%, 29%)
HSVhsv(45, 79%, 47%)
CMYKcmyk(0%, 19.8%, 79.3%, 52.5%)
CIE-LABlab(42.29, 1.92, 42.04)
CIE-LCHlch(42.29, 42.08, 87.38°)
OKLaboklab(50.32% 0.0009 0.0921)
OKLCHoklch(50.32% 0.092 89.4)
XYZxyz(12.3361, 12.6853, 2.7183)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796119 #193179
analogous
#793119 #796119 #617919
triadic
#796119 #197961 #611979
tetradic
#796119 #197931 #193179 #791961
square
#796119 #197931 #193179 #791961
split-complementary
#796119 #196179 #311979
monochromatic
#191405 #46380F #796119 #AC8A23 #D6AE37

Accessibility & contrast

On white

5.94
#796119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#796119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796119
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796119#FFFFFF#000000##FFFFFF
##7961191.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600C
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#845853
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #796119;
/* rgb */ color: rgb(121, 97, 25);
/* oklch */ color: oklch(50.3% 0.092 89.4);
Tailwind
colors: {
  custom: {
    50: '#a38d5c',
    500: '#796119',
    950: '#000000',
  },
}
SCSS
$custom: #796119;
$custom-light: #a38d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#796119",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 25
  },
  "hsl": {
    "h": 45,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.09213,
    "h": 89.4
  },
  "luminance": 0.12685
}

Semantic roles & 50–950 ramp

primary
#796119
secondary
#405CAE
accent
#6AE93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #796119

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

Preview Lab → · Contrast checker → · Palette generator →

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