#797B33#797B33

#797B33 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.095 H 110.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#797B33
RGBrgb(121, 123, 51)
HSLhsl(62, 41%, 34%)
HSVhsv(62, 59%, 48%)
CMYKcmyk(1.6%, 0%, 58.5%, 51.8%)
CIE-LABlab(50.06, -11.19, 38.32)
CIE-LCHlch(50.06, 39.92, 106.28°)
OKLaboklab(56.56% -0.0333 0.0888)
OKLCHoklch(56.56% 0.095 110.5)
XYZxyz(15.5661, 18.4702, 5.8765)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B33 #35337B
analogous
#7B5933 #797B33 #557B33
triadic
#797B33 #33797B #7B3379
tetradic
#797B33 #337B59 #35337B #7B3355
square
#797B33 #337B59 #35337B #7B3355
split-complementary
#797B33 #33557B #59337B
monochromatic
#24240F #4E5021 #797B33 #A4A645 #BEC068

Accessibility & contrast

On white

4.47
#797B33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#797B33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B33
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B33#FFFFFF#000000##000000
##797B331.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84762B
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#81746B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797b33;
/* rgb */ color: rgb(121, 123, 51);
/* oklch */ color: oklch(56.6% 0.095 110.5);
Tailwind
colors: {
  custom: {
    50: '#a2a16d',
    500: '#797b33',
    950: '#000000',
  },
}
SCSS
$custom: #797b33;
$custom-light: #a2a16d;
$custom-dark: #000000;
JSON
{
  "hex": "#797b33",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 51
  },
  "hsl": {
    "h": 61.667,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56562,
    "c": 0.09481,
    "h": 110.5
  },
  "luminance": 0.1847
}

Semantic roles & 50–950 ramp

primary
#797B33
secondary
#6362A8
accent
#57D15A
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797B33

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

Preview Lab → · Contrast checker → · Palette generator →

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