#797E33#797E33

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

Color values

HEX#797E33
RGBrgb(121, 126, 51)
HSLhsl(64, 42%, 35%)
HSVhsv(64, 60%, 49%)
CMYKcmyk(4%, 0%, 59.5%, 50.6%)
CIE-LABlab(50.95, -12.83, 39.31)
CIE-LCHlch(50.95, 41.35, 108.07°)
OKLaboklab(57.27% -0.0379 0.0909)
OKLCHoklch(57.27% 0.098 112.6)
XYZxyz(15.9439, 19.2260, 6.0024)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E33 #38337E
analogous
#7E5E33 #797E33 #547E33
triadic
#797E33 #33797E #7E3379
tetradic
#797E33 #337E5E #38337E #7E3354
square
#797E33 #337E5E #38337E #7E3354
split-complementary
#797E33 #33547E #5E337E
monochromatic
#252710 #4F5221 #797E33 #A3AA45 #BCC269

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797E33#FFFFFF#000000##000000
##797E331.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)
#87782B
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#81776E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797e33;
/* rgb */ color: rgb(121, 126, 51);
/* oklch */ color: oklch(57.3% 0.098 112.6);
Tailwind
colors: {
  custom: {
    50: '#a2a36e',
    500: '#797e33',
    950: '#000000',
  },
}
SCSS
$custom: #797e33;
$custom-light: #a2a36e;
$custom-dark: #000000;
JSON
{
  "hex": "#797e33",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 51
  },
  "hsl": {
    "h": 64,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57272,
    "c": 0.09849,
    "h": 112.6
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#797E33
secondary
#6763AA
accent
#56D25E
background
#FAFAF6
surface
#F4F3EC
border
#CECDC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #797E33

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

Preview Lab → · Contrast checker → · Palette generator →

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