#797E35#797E35

#797E35 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.097 H 112.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#797E35
RGBrgb(121, 126, 53)
HSLhsl(64, 41%, 35%)
HSVhsv(64, 58%, 49%)
CMYKcmyk(4%, 0%, 57.9%, 50.6%)
CIE-LABlab(50.97, -12.66, 38.36)
CIE-LCHlch(50.97, 40.39, 108.26°)
OKLaboklab(57.3% -0.0372 0.0891)
OKLCHoklch(57.3% 0.097 112.7)
XYZxyz(15.9890, 19.2440, 6.2397)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E35 #3A357E
analogous
#7E5F35 #797E35 #547E35
triadic
#797E35 #35797E #7E3579
tetradic
#797E35 #357E5F #3A357E #7E3554
square
#797E35 #357E5F #3A357E #7E3554
split-complementary
#797E35 #35547E #5F357E
monochromatic
#262811 #505323 #797E35 #A2A947 #BBC16C

Accessibility & contrast

On white

4.33
#797E35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#797E35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E35
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E35#FFFFFF#000000##000000
##797E351.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87782D
Deuteranopia (green-blind)
#877A39
Tritanopia (blue-blind)
#80776E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797e35;
/* rgb */ color: rgb(121, 126, 53);
/* oklch */ color: oklch(57.3% 0.097 112.7);
Tailwind
colors: {
  custom: {
    50: '#a2a36f',
    500: '#797e35',
    950: '#000000',
  },
}
SCSS
$custom: #797e35;
$custom-light: #a2a36f;
$custom-dark: #000000;
JSON
{
  "hex": "#797e35",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 53
  },
  "hsl": {
    "h": 64.11,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57296,
    "c": 0.09658,
    "h": 112.7
  },
  "luminance": 0.19244
}

Semantic roles & 50–950 ramp

primary
#797E35
secondary
#6A65AA
accent
#57D15F
background
#FAFAF6
surface
#F4F3EC
border
#CECDC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #797E35

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

Preview Lab → · Contrast checker → · Palette generator →

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