#796926#796926

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

Color values

HEX#796926
RGBrgb(121, 105, 38)
HSLhsl(48, 52%, 31%)
HSVhsv(48, 69%, 47%)
CMYKcmyk(0%, 13.2%, 68.6%, 52.5%)
CIE-LABlab(44.67, -2.02, 38.71)
CIE-LCHlch(44.67, 38.76, 92.99°)
OKLaboklab(52.24% -0.0087 0.0877)
OKLCHoklch(52.24% 0.088 95.7)
XYZxyz(13.2872, 14.3087, 3.8953)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796926 #263679
analogous
#793F26 #796926 #5F7926
triadic
#796926 #267969 #692679
tetradic
#796926 #26793F #263679 #79265F
square
#796926 #26793F #263679 #79265F
split-complementary
#796926 #265F79 #3F2679
monochromatic
#1C1809 #4A4117 #796926 #A89135 #C8B151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796926#FFFFFF#000000##FFFFFF
##7969261.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)
#74671E
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#83615B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796926;
/* rgb */ color: rgb(121, 105, 38);
/* oklch */ color: oklch(52.2% 0.088 95.7);
Tailwind
colors: {
  custom: {
    50: '#a29364',
    500: '#796926',
    950: '#000000',
  },
}
SCSS
$custom: #796926;
$custom-light: #a29364;
$custom-dark: #000000;
JSON
{
  "hex": "#796926",
  "rgb": {
    "r": 121,
    "g": 105,
    "b": 38
  },
  "hsl": {
    "h": 48.434,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52238,
    "c": 0.0881,
    "h": 95.7
  },
  "luminance": 0.14308
}

Semantic roles & 50–950 ramp

primary
#796926
secondary
#5061AB
accent
#68DC4C
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D05
muted
#7F7E7A

Preview Lab

Preview with #796926

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

Preview Lab → · Contrast checker → · Palette generator →

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