#796B30#796B30

#796B30 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.8% C 0.081 H 96.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#796B30
RGBrgb(121, 107, 48)
HSLhsl(48, 43%, 33%)
HSVhsv(48, 60%, 47%)
CMYKcmyk(0%, 11.6%, 60.3%, 52.5%)
CIE-LABlab(45.35, -2.43, 34.49)
CIE-LCHlch(45.35, 34.58, 94.04°)
OKLaboklab(52.81% -0.0086 0.0802)
OKLCHoklch(52.81% 0.081 96.1)
XYZxyz(13.6769, 14.7944, 4.9309)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796B30 #303E79
analogous
#794630 #796B30 #627930
triadic
#796B30 #30796B #6B3079
tetradic
#796B30 #307946 #303E79 #793062
square
#796B30 #307946 #303E79 #793062
split-complementary
#796B30 #306279 #463079
monochromatic
#211E0D #4D441F #796B30 #A59241 #C1AF62

Accessibility & contrast

On white

5.30
#796B30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#796B30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796B30
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796B30#FFFFFF#000000##FFFFFF
##796B301.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692A
Deuteranopia (green-blind)
#796D33
Tritanopia (blue-blind)
#82645E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #796b30;
/* rgb */ color: rgb(121, 107, 48);
/* oklch */ color: oklch(52.8% 0.081 96.1);
Tailwind
colors: {
  custom: {
    50: '#a2956a',
    500: '#796b30',
    950: '#000000',
  },
}
SCSS
$custom: #796b30;
$custom-light: #a2956a;
$custom-dark: #000000;
JSON
{
  "hex": "#796b30",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 48
  },
  "hsl": {
    "h": 48.493,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52808,
    "c": 0.08065,
    "h": 96.1
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#796B30
secondary
#5D6BA8
accent
#6DD355
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796B30

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

Preview Lab → · Contrast checker → · Palette generator →

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