#797B35#797B35

#797B35 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.093 H 110.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#797B35
RGBrgb(121, 123, 53)
HSLhsl(62, 40%, 35%)
HSVhsv(62, 57%, 48%)
CMYKcmyk(1.6%, 0%, 56.9%, 51.8%)
CIE-LABlab(50.08, -11.02, 37.35)
CIE-LCHlch(50.08, 38.94, 106.44°)
OKLaboklab(56.59% -0.0326 0.087)
OKLCHoklch(56.59% 0.093 110.5)
XYZxyz(15.6111, 18.4883, 6.1137)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B35 #37357B
analogous
#7B5A35 #797B35 #567B35
triadic
#797B35 #35797B #7B3579
tetradic
#797B35 #357B5A #37357B #7B3556
square
#797B35 #357B5A #37357B #7B3556
split-complementary
#797B35 #35567B #5A357B
monochromatic
#252510 #4F5023 #797B35 #A3A647 #BDBF6B

Accessibility & contrast

On white

4.47
#797B35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#797B35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B35
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B35#FFFFFF#000000##000000
##797B351.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84762E
Deuteranopia (green-blind)
#847839
Tritanopia (blue-blind)
#81746C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797b35;
/* rgb */ color: rgb(121, 123, 53);
/* oklch */ color: oklch(56.6% 0.093 110.5);
Tailwind
colors: {
  custom: {
    50: '#a1a16f',
    500: '#797b35',
    950: '#000000',
  },
}
SCSS
$custom: #797b35;
$custom-light: #a1a16f;
$custom-dark: #000000;
JSON
{
  "hex": "#797b35",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 53
  },
  "hsl": {
    "h": 61.714,
    "s": 39.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56586,
    "c": 0.09286,
    "h": 110.5
  },
  "luminance": 0.18488
}

Semantic roles & 50–950 ramp

primary
#797B35
secondary
#6664A8
accent
#58D05C
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797B35

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

Preview Lab → · Contrast checker → · Palette generator →

#797B35 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva