#797930#797930

#797930 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.095 H 109.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#797930
RGBrgb(121, 121, 48)
HSLhsl(60, 43%, 33%)
HSVhsv(60, 60%, 47%)
CMYKcmyk(0%, 0%, 60.3%, 52.5%)
CIE-LABlab(49.44, -10.33, 39.09)
CIE-LCHlch(49.44, 40.43, 104.81°)
OKLaboklab(56.06% -0.0312 0.09)
OKLCHoklch(56.06% 0.095 109.1)
XYZxyz(15.2565, 17.9535, 5.4574)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797930 #303079
analogous
#795430 #797930 #547930
triadic
#797930 #307979 #793079
tetradic
#797930 #307954 #303079 #793054
square
#797930 #307954 #303079 #793054
split-complementary
#797930 #305479 #543079
monochromatic
#21210D #4D4D1F #797930 #A5A541 #C1C162

Accessibility & contrast

On white

4.57
#797930 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#797930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797930
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797930#FFFFFF#000000##000000
##7979301.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#827428
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#817269
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797930;
/* rgb */ color: rgb(121, 121, 48);
/* oklch */ color: oklch(56.1% 0.095 109.1);
Tailwind
colors: {
  custom: {
    50: '#a29f6b',
    500: '#797930',
    950: '#000000',
  },
}
SCSS
$custom: #797930;
$custom-light: #a29f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#797930",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56056,
    "c": 0.09527,
    "h": 109.1
  },
  "luminance": 0.17953
}

Semantic roles & 50–950 ramp

primary
#797930
secondary
#5D5DA8
accent
#55D355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797930

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

Preview Lab → · Contrast checker → · Palette generator →

#797930 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva