#797335#797335

#797335 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.084 H 103.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#797335
RGBrgb(121, 115, 53)
HSLhsl(55, 39%, 34%)
HSVhsv(55, 56%, 47%)
CMYKcmyk(0%, 5%, 56.2%, 52.5%)
CIE-LABlab(47.73, -6.57, 34.65)
CIE-LCHlch(47.73, 35.26, 100.73°)
OKLaboklab(54.71% -0.0199 0.0811)
OKLCHoklch(54.71% 0.084 103.8)
XYZxyz(14.6589, 16.5839, 5.7963)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797335 #353B79
analogous
#795135 #797335 #5D7935
triadic
#797335 #357973 #733579
tetradic
#797335 #357951 #353B79 #79355D
square
#797335 #357951 #353B79 #79355D
split-complementary
#797335 #355D79 #513579
monochromatic
#242210 #4E4B22 #797335 #A49B48 #BEB76A

Accessibility & contrast

On white

4.86
#797335 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#797335 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797335
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797335#FFFFFF#000000##FFFFFF
##7973351.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2F
Deuteranopia (green-blind)
#7E7338
Tritanopia (blue-blind)
#816C65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797335;
/* rgb */ color: rgb(121, 115, 53);
/* oklch */ color: oklch(54.7% 0.084 103.8);
Tailwind
colors: {
  custom: {
    50: '#a19b6e',
    500: '#797335',
    950: '#000000',
  },
}
SCSS
$custom: #797335;
$custom-light: #a19b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#797335",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 53
  },
  "hsl": {
    "h": 54.706,
    "s": 39.08,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54714,
    "c": 0.08353,
    "h": 103.8
  },
  "luminance": 0.16583
}

Semantic roles & 50–950 ramp

primary
#797335
secondary
#6369A6
accent
#63CF59
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797335

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

Preview Lab → · Contrast checker → · Palette generator →

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