#797D33#797D33

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

Color values

HEX#797D33
RGBrgb(121, 125, 51)
HSLhsl(63, 42%, 35%)
HSVhsv(63, 59%, 49%)
CMYKcmyk(3.2%, 0%, 59.2%, 51%)
CIE-LABlab(50.65, -12.28, 38.98)
CIE-LCHlch(50.65, 40.87, 107.49°)
OKLaboklab(57.04% -0.0364 0.0902)
OKLCHoklch(57.04% 0.097 112)
XYZxyz(15.8167, 18.9715, 5.9600)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D33 #37337D
analogous
#7D5C33 #797D33 #547D33
triadic
#797D33 #33797D #7D3379
tetradic
#797D33 #337D5C #37337D #7D3354
square
#797D33 #337D5C #37337D #7D3354
split-complementary
#797D33 #33547D #5C337D
monochromatic
#252610 #4F5221 #797D33 #A3A845 #BDC269

Accessibility & contrast

On white

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

On black

4.79
#797D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D33
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D33#FFFFFF#000000##000000
##797D331.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797d33;
/* rgb */ color: rgb(121, 125, 51);
/* oklch */ color: oklch(57.0% 0.097 112.0);
Tailwind
colors: {
  custom: {
    50: '#a2a26e',
    500: '#797d33',
    950: '#000000',
  },
}
SCSS
$custom: #797d33;
$custom-light: #a2a26e;
$custom-dark: #000000;
JSON
{
  "hex": "#797d33",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 51
  },
  "hsl": {
    "h": 63.243,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57035,
    "c": 0.09726,
    "h": 112
  },
  "luminance": 0.18971
}

Semantic roles & 50–950 ramp

primary
#797D33
secondary
#6662AA
accent
#56D25D
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #797D33

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

Preview Lab → · Contrast checker → · Palette generator →

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