#797A33#797A33

#797A33 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.094 H 109.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#797A33
RGBrgb(121, 122, 51)
HSLhsl(61, 41%, 34%)
HSVhsv(61, 58%, 48%)
CMYKcmyk(0.8%, 0%, 58.2%, 52.2%)
CIE-LABlab(49.77, -10.64, 37.98)
CIE-LCHlch(49.77, 39.45, 105.65°)
OKLaboklab(56.33% -0.0317 0.0881)
OKLCHoklch(56.33% 0.094 109.8)
XYZxyz(15.4426, 18.2234, 5.8353)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A33 #34337A
analogous
#7A5833 #797A33 #567A33
triadic
#797A33 #33797A #7A3379
tetradic
#797A33 #337A58 #34337A #7A3356
square
#797A33 #337A58 #34337A #7A3356
split-complementary
#797A33 #33567A #58337A
monochromatic
#23240F #4E4F21 #797A33 #A4A545 #BEC068

Accessibility & contrast

On white

4.52
#797A33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#797A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A33
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A33#FFFFFF#000000##000000
##797A331.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83752C
Deuteranopia (green-blind)
#847737
Tritanopia (blue-blind)
#81736A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797a33;
/* rgb */ color: rgb(121, 122, 51);
/* oklch */ color: oklch(56.3% 0.094 109.8);
Tailwind
colors: {
  custom: {
    50: '#a2a06d',
    500: '#797a33',
    950: '#000000',
  },
}
SCSS
$custom: #797a33;
$custom-light: #a2a06d;
$custom-dark: #000000;
JSON
{
  "hex": "#797a33",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 51
  },
  "hsl": {
    "h": 60.845,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56326,
    "c": 0.09361,
    "h": 109.8
  },
  "luminance": 0.18223
}

Semantic roles & 50–950 ramp

primary
#797A33
secondary
#6261A8
accent
#57D159
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797A33

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

Preview Lab → · Contrast checker → · Palette generator →

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