#796F30#796F30

#796F30 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.084 H 100.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#796F30
RGBrgb(121, 111, 48)
HSLhsl(52, 43%, 33%)
HSVhsv(52, 60%, 47%)
CMYKcmyk(0%, 8.3%, 60.3%, 52.5%)
CIE-LABlab(46.51, -4.73, 35.81)
CIE-LCHlch(46.51, 36.12, 97.52°)
OKLaboklab(53.73% -0.0152 0.083)
OKLCHoklch(53.73% 0.084 100.4)
XYZxyz(14.1036, 15.6478, 5.0732)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F30 #303A79
analogous
#794A30 #796F30 #5E7930
triadic
#796F30 #30796F #6F3079
tetradic
#796F30 #30794A #303A79 #79305E
square
#796F30 #30794A #303A79 #79305E
split-complementary
#796F30 #305E79 #4A3079
monochromatic
#211F0D #4D471F #796F30 #A59741 #C1B462

Accessibility & contrast

On white

5.09
#796F30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#796F30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F30
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F30#FFFFFF#000000##FFFFFF
##796F301.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C2A
Deuteranopia (green-blind)
#7C7033
Tritanopia (blue-blind)
#826861
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f30;
/* rgb */ color: rgb(121, 111, 48);
/* oklch */ color: oklch(53.7% 0.084 100.4);
Tailwind
colors: {
  custom: {
    50: '#a2986b',
    500: '#796f30',
    950: '#000000',
  },
}
SCSS
$custom: #796f30;
$custom-light: #a2986b;
$custom-dark: #000000;
JSON
{
  "hex": "#796f30",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 48
  },
  "hsl": {
    "h": 51.781,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.0844,
    "h": 100.4
  },
  "luminance": 0.15647
}

Semantic roles & 50–950 ramp

primary
#796F30
secondary
#5D67A8
accent
#66D355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796F30

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

Preview Lab → · Contrast checker → · Palette generator →

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