#797A30#797A30

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

Color values

HEX#797A30
RGBrgb(121, 122, 48)
HSLhsl(61, 44%, 33%)
HSVhsv(61, 61%, 48%)
CMYKcmyk(0.8%, 0%, 60.7%, 52.2%)
CIE-LABlab(49.74, -10.89, 39.41)
CIE-LCHlch(49.74, 40.89, 105.44°)
OKLaboklab(56.29% -0.0328 0.0907)
OKLCHoklch(56.29% 0.096 109.9)
XYZxyz(15.3786, 18.1978, 5.4982)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A30 #31307A
analogous
#7A5630 #797A30 #547A30
triadic
#797A30 #30797A #7A3079
tetradic
#797A30 #307A56 #31307A #7A3054
square
#797A30 #307A56 #31307A #7A3054
split-complementary
#797A30 #30547A #56307A
monochromatic
#22220D #4D4E1F #797A30 #A5A641 #C0C263

Accessibility & contrast

On white

4.53
#797A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##797A30#FFFFFF#000000##000000
##797A301.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#837528
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#81736A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797a30;
/* rgb */ color: rgb(121, 122, 48);
/* oklch */ color: oklch(56.3% 0.096 109.9);
Tailwind
colors: {
  custom: {
    50: '#a2a06c',
    500: '#797a30',
    950: '#000000',
  },
}
SCSS
$custom: #797a30;
$custom-light: #a2a06c;
$custom-dark: #000000;
JSON
{
  "hex": "#797a30",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 48
  },
  "hsl": {
    "h": 60.811,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56292,
    "c": 0.09645,
    "h": 109.9
  },
  "luminance": 0.18197
}

Semantic roles & 50–950 ramp

primary
#797A30
secondary
#5E5DA9
accent
#55D356
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797A30

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

Preview Lab → · Contrast checker → · Palette generator →

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