#797D35#797D35

#797D35 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.095 H 112.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#797D35
RGBrgb(121, 125, 53)
HSLhsl(63, 40%, 35%)
HSVhsv(63, 58%, 49%)
CMYKcmyk(3.2%, 0%, 57.6%, 51%)
CIE-LABlab(50.67, -12.11, 38.02)
CIE-LCHlch(50.67, 39.91, 107.67°)
OKLaboklab(57.06% -0.0357 0.0884)
OKLCHoklch(57.06% 0.095 112)
XYZxyz(15.8617, 18.9895, 6.1972)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D35 #39357D
analogous
#7D5D35 #797D35 #557D35
triadic
#797D35 #35797D #7D3579
tetradic
#797D35 #357D5D #39357D #7D3555
square
#797D35 #357D5D #39357D #7D3555
split-complementary
#797D35 #35557D #5D357D
monochromatic
#262711 #4F5223 #797D35 #A3A847 #BCC16C

Accessibility & contrast

On white

4.38
#797D35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#797D35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D35
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D35#FFFFFF#000000##000000
##797D351.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86782E
Deuteranopia (green-blind)
#867A39
Tritanopia (blue-blind)
#81766D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797d35;
/* rgb */ color: rgb(121, 125, 53);
/* oklch */ color: oklch(57.1% 0.095 112.0);
Tailwind
colors: {
  custom: {
    50: '#a2a26f',
    500: '#797d35',
    950: '#000000',
  },
}
SCSS
$custom: #797d35;
$custom-light: #a2a26f;
$custom-dark: #000000;
JSON
{
  "hex": "#797d35",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 53
  },
  "hsl": {
    "h": 63.333,
    "s": 40.449,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57059,
    "c": 0.09533,
    "h": 112
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

primary
#797D35
secondary
#6965A9
accent
#57D05E
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #797D35

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

Preview Lab → · Contrast checker → · Palette generator →

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