#797C35#797C35

#797C35 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.094 H 111.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#797C35
RGBrgb(121, 124, 53)
HSLhsl(63, 40%, 35%)
HSVhsv(63, 57%, 49%)
CMYKcmyk(2.4%, 0%, 57.3%, 51.4%)
CIE-LABlab(50.38, -11.57, 37.69)
CIE-LCHlch(50.38, 39.42, 107.06°)
OKLaboklab(56.82% -0.0341 0.0877)
OKLCHoklch(56.82% 0.094 111.3)
XYZxyz(15.7358, 18.7376, 6.1553)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C35 #38357C
analogous
#7C5C35 #797C35 #567C35
triadic
#797C35 #35797C #7C3579
tetradic
#797C35 #357C5C #38357C #7C3556
square
#797C35 #357C5C #38357C #7C3556
split-complementary
#797C35 #35567C #5C357C
monochromatic
#252610 #4F5123 #797C35 #A3A747 #BCC06B

Accessibility & contrast

On white

4.42
#797C35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#797C35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C35
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C35#FFFFFF#000000##000000
##797C351.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85772E
Deuteranopia (green-blind)
#857939
Tritanopia (blue-blind)
#81756C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797c35;
/* rgb */ color: rgb(121, 124, 53);
/* oklch */ color: oklch(56.8% 0.094 111.3);
Tailwind
colors: {
  custom: {
    50: '#a2a16f',
    500: '#797c35',
    950: '#000000',
  },
}
SCSS
$custom: #797c35;
$custom-light: #a2a16f;
$custom-dark: #000000;
JSON
{
  "hex": "#797c35",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 53
  },
  "hsl": {
    "h": 62.535,
    "s": 40.113,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.09408,
    "h": 111.3
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#797C35
secondary
#6765A8
accent
#58D05D
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #797C35

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

Preview Lab → · Contrast checker → · Palette generator →

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