#797330#797330

#797330 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.089 H 104.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#797330
RGBrgb(121, 115, 48)
HSLhsl(55, 43%, 33%)
HSVhsv(55, 60%, 47%)
CMYKcmyk(0%, 5%, 60.3%, 52.5%)
CIE-LABlab(47.68, -6.99, 37.12)
CIE-LCHlch(47.68, 37.77, 100.67°)
OKLaboklab(54.65% -0.0217 0.0858)
OKLCHoklch(54.65% 0.089 104.2)
XYZxyz(14.5499, 16.5403, 5.2219)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797330 #303679
analogous
#794E30 #797330 #5A7930
triadic
#797330 #307973 #733079
tetradic
#797330 #30794E #303679 #79305A
square
#797330 #30794E #303679 #79305A
split-complementary
#797330 #305A79 #4E3079
monochromatic
#21200D #4D491F #797330 #A59D41 #C1B962

Accessibility & contrast

On white

4.87
#797330 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#797330 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797330
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797330#FFFFFF#000000##FFFFFF
##7973301.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F29
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#826C64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797330;
/* rgb */ color: rgb(121, 115, 48);
/* oklch */ color: oklch(54.7% 0.089 104.2);
Tailwind
colors: {
  custom: {
    50: '#a29b6b',
    500: '#797330',
    950: '#000000',
  },
}
SCSS
$custom: #797330;
$custom-light: #a29b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#797330",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 48
  },
  "hsl": {
    "h": 55.068,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54652,
    "c": 0.08853,
    "h": 104.2
  },
  "luminance": 0.1654
}

Semantic roles & 50–950 ramp

primary
#797330
secondary
#5D63A8
accent
#5FD355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797330

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

Preview Lab → · Contrast checker → · Palette generator →

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