#797C33#797C33

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

Color values

HEX#797C33
RGBrgb(121, 124, 51)
HSLhsl(62, 42%, 34%)
HSVhsv(62, 59%, 49%)
CMYKcmyk(2.4%, 0%, 58.9%, 51.4%)
CIE-LABlab(50.36, -11.74, 38.65)
CIE-LCHlch(50.36, 40.39, 106.89°)
OKLaboklab(56.8% -0.0348 0.0895)
OKLCHoklch(56.8% 0.096 111.3)
XYZxyz(15.6907, 18.7196, 5.9180)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C33 #36337C
analogous
#7C5B33 #797C33 #557C33
triadic
#797C33 #33797C #7C3379
tetradic
#797C33 #337C5B #36337C #7C3355
square
#797C33 #337C5B #36337C #7C3355
split-complementary
#797C33 #33557C #5B337C
monochromatic
#24250F #4F5121 #797C33 #A3A745 #BDC168

Accessibility & contrast

On white

4.43
#797C33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#797C33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C33
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C33#FFFFFF#000000##000000
##797C331.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797c33;
/* rgb */ color: rgb(121, 124, 51);
/* oklch */ color: oklch(56.8% 0.096 111.3);
Tailwind
colors: {
  custom: {
    50: '#a2a16e',
    500: '#797c33',
    950: '#000000',
  },
}
SCSS
$custom: #797c33;
$custom-light: #a2a16e;
$custom-dark: #000000;
JSON
{
  "hex": "#797c33",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 51
  },
  "hsl": {
    "h": 62.466,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56799,
    "c": 0.09603,
    "h": 111.3
  },
  "luminance": 0.18719
}

Semantic roles & 50–950 ramp

primary
#797C33
secondary
#6562A9
accent
#56D25B
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #797C33

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

Preview Lab → · Contrast checker → · Palette generator →

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