#796935#796935

#796935 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.4% C 0.074 H 92.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#796935
RGBrgb(121, 105, 53)
HSLhsl(46, 39%, 34%)
HSVhsv(46, 56%, 47%)
CMYKcmyk(0%, 13.2%, 56.2%, 52.5%)
CIE-LABlab(44.84, -0.84, 31.25)
CIE-LCHlch(44.84, 31.26, 91.54°)
OKLaboklab(52.42% -0.0034 0.0737)
OKLCHoklch(52.42% 0.074 92.6)
XYZxyz(13.5799, 14.4258, 5.4366)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796935 #354579
analogous
#794735 #796935 #677935
triadic
#796935 #357969 #693579
tetradic
#796935 #357947 #354579 #793567
square
#796935 #357947 #354579 #793567
split-complementary
#796935 #356779 #473579
monochromatic
#241F10 #4E4422 #796935 #A48E48 #BEAA6A

Accessibility & contrast

On white

5.41
#796935 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#796935 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796935
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796935#FFFFFF#000000##FFFFFF
##7969351.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736730
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#82625D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796935;
/* rgb */ color: rgb(121, 105, 53);
/* oklch */ color: oklch(52.4% 0.074 92.6);
Tailwind
colors: {
  custom: {
    50: '#a2936e',
    500: '#796935',
    950: '#000000',
  },
}
SCSS
$custom: #796935;
$custom-light: #a2936e;
$custom-dark: #000000;
JSON
{
  "hex": "#796935",
  "rgb": {
    "r": 121,
    "g": 105,
    "b": 53
  },
  "hsl": {
    "h": 45.882,
    "s": 39.08,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.07382,
    "h": 92.6
  },
  "luminance": 0.14425
}

Semantic roles & 50–950 ramp

primary
#796935
secondary
#6373A6
accent
#75CF59
background
#FAF9F6
surface
#F4F1EC
border
#CECBC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796935

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

Preview Lab → · Contrast checker → · Palette generator →

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