#797136#797136

#797136 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.080 H 101.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#797136
RGBrgb(121, 113, 54)
HSLhsl(53, 38%, 34%)
HSVhsv(53, 55%, 47%)
CMYKcmyk(0%, 6.6%, 55.4%, 52.5%)
CIE-LABlab(47.16, -5.34, 33.46)
CIE-LCHlch(47.16, 33.88, 99.08°)
OKLaboklab(54.26% -0.0162 0.0787)
OKLCHoklch(54.26% 0.08 101.7)
XYZxyz(14.4566, 16.1421, 5.8435)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797136 #363E79
analogous
#795036 #797136 #607936
triadic
#797136 #367971 #713679
tetradic
#797136 #367950 #363E79 #793660
square
#797136 #367950 #363E79 #793660
split-complementary
#797136 #366079 #503679
monochromatic
#242210 #4F4923 #797136 #A39949 #BDB46C

Accessibility & contrast

On white

4.97
#797136 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#797136 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797136
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797136#FFFFFF#000000##FFFFFF
##7971361.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E30
Deuteranopia (green-blind)
#7D7139
Tritanopia (blue-blind)
#816A64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #797136;
/* rgb */ color: rgb(121, 113, 54);
/* oklch */ color: oklch(54.3% 0.080 101.7);
Tailwind
colors: {
  custom: {
    50: '#a1996f',
    500: '#797136',
    950: '#000000',
  },
}
SCSS
$custom: #797136;
$custom-light: #a1996f;
$custom-dark: #000000;
JSON
{
  "hex": "#797136",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 54
  },
  "hsl": {
    "h": 52.836,
    "s": 38.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54264,
    "c": 0.08033,
    "h": 101.7
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#797136
secondary
#656DA6
accent
#68CE5A
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #797136

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

Preview Lab → · Contrast checker → · Palette generator →

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