#797530#797530

#797530 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.091 H 105.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#797530
RGBrgb(121, 117, 48)
HSLhsl(57, 43%, 33%)
HSVhsv(57, 60%, 47%)
CMYKcmyk(0%, 3.3%, 60.3%, 52.5%)
CIE-LABlab(48.26, -8.11, 37.78)
CIE-LCHlch(48.26, 38.64, 102.12°)
OKLaboklab(55.12% -0.0249 0.0872)
OKLCHoklch(55.12% 0.091 105.9)
XYZxyz(14.7804, 17.0014, 5.2988)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797530 #303479
analogous
#795030 #797530 #587930
triadic
#797530 #307975 #753079
tetradic
#797530 #307950 #303479 #793058
square
#797530 #307950 #303479 #793058
split-complementary
#797530 #305879 #503079
monochromatic
#21200D #4D4B1F #797530 #A59F41 #C1BC62

Accessibility & contrast

On white

4.77
#797530 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#797530 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797530
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797530#FFFFFF#000000##FFFFFF
##7975301.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7129
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#816E66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797530;
/* rgb */ color: rgb(121, 117, 48);
/* oklch */ color: oklch(55.1% 0.091 105.9);
Tailwind
colors: {
  custom: {
    50: '#a29c6b',
    500: '#797530',
    950: '#000000',
  },
}
SCSS
$custom: #797530;
$custom-light: #a29c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#797530",
  "rgb": {
    "r": 121,
    "g": 117,
    "b": 48
  },
  "hsl": {
    "h": 56.712,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.09071,
    "h": 105.9
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

primary
#797530
secondary
#5D61A8
accent
#5CD355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797530

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

Preview Lab → · Contrast checker → · Palette generator →

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