#796D30#796D30

#796D30 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.3% C 0.082 H 98.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#796D30
RGBrgb(121, 109, 48)
HSLhsl(50, 43%, 33%)
HSVhsv(50, 60%, 47%)
CMYKcmyk(0%, 9.9%, 60.3%, 52.5%)
CIE-LABlab(45.93, -3.58, 35.15)
CIE-LCHlch(45.93, 35.33, 95.82°)
OKLaboklab(53.27% -0.0119 0.0816)
OKLCHoklch(53.27% 0.082 98.3)
XYZxyz(13.8878, 15.2162, 5.0012)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D30 #303C79
analogous
#794830 #796D30 #607930
triadic
#796D30 #30796D #6D3079
tetradic
#796D30 #307948 #303C79 #793060
square
#796D30 #307948 #303C79 #793060
split-complementary
#796D30 #306079 #483079
monochromatic
#211E0D #4D461F #796D30 #A59441 #C1B162

Accessibility & contrast

On white

5.19
#796D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#796D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D30
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D30#FFFFFF#000000##FFFFFF
##796D301.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A2A
Deuteranopia (green-blind)
#7A6F33
Tritanopia (blue-blind)
#82665F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796d30;
/* rgb */ color: rgb(121, 109, 48);
/* oklch */ color: oklch(53.3% 0.082 98.3);
Tailwind
colors: {
  custom: {
    50: '#a2966b',
    500: '#796d30',
    950: '#000000',
  },
}
SCSS
$custom: #796d30;
$custom-light: #a2966b;
$custom-dark: #000000;
JSON
{
  "hex": "#796d30",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 48
  },
  "hsl": {
    "h": 50.137,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53266,
    "c": 0.08247,
    "h": 98.3
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#796D30
secondary
#5D69A8
accent
#6AD355
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796D30

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

Preview Lab → · Contrast checker → · Palette generator →

#796D30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva