#796E30#796E30

#796E30 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.083 H 99.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#796E30
RGBrgb(121, 110, 48)
HSLhsl(51, 43%, 33%)
HSVhsv(51, 60%, 47%)
CMYKcmyk(0%, 9.1%, 60.3%, 52.5%)
CIE-LABlab(46.22, -4.16, 35.48)
CIE-LCHlch(46.22, 35.72, 96.68°)
OKLaboklab(53.5% -0.0136 0.0823)
OKLCHoklch(53.5% 0.083 99.4)
XYZxyz(13.9951, 15.4308, 5.0370)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E30 #303B79
analogous
#794930 #796E30 #5F7930
triadic
#796E30 #30796E #6E3079
tetradic
#796E30 #307949 #303B79 #79305F
square
#796E30 #307949 #303B79 #79305F
split-complementary
#796E30 #305F79 #493079
monochromatic
#211E0D #4D461F #796E30 #A59641 #C1B362

Accessibility & contrast

On white

5.14
#796E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#796E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E30
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E30#FFFFFF#000000##FFFFFF
##796E301.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B2A
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#826760
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e30;
/* rgb */ color: rgb(121, 110, 48);
/* oklch */ color: oklch(53.5% 0.083 99.4);
Tailwind
colors: {
  custom: {
    50: '#a2976b',
    500: '#796e30',
    950: '#000000',
  },
}
SCSS
$custom: #796e30;
$custom-light: #a2976b;
$custom-dark: #000000;
JSON
{
  "hex": "#796e30",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 48
  },
  "hsl": {
    "h": 50.959,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.08342,
    "h": 99.4
  },
  "luminance": 0.1543
}

Semantic roles & 50–950 ramp

primary
#796E30
secondary
#5D68A8
accent
#68D355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796E30

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

Preview Lab → · Contrast checker → · Palette generator →

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