#796A30#796A30

#796A30 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.6% C 0.080 H 95.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#796A30
RGBrgb(121, 106, 48)
HSLhsl(48, 43%, 33%)
HSVhsv(48, 60%, 47%)
CMYKcmyk(0%, 12.4%, 60.3%, 52.5%)
CIE-LABlab(45.06, -1.86, 34.16)
CIE-LCHlch(45.06, 34.21, 93.11°)
OKLaboklab(52.58% -0.007 0.0795)
OKLCHoklch(52.58% 0.08 95)
XYZxyz(13.5732, 14.5870, 4.8964)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796A30 #303F79
analogous
#794530 #796A30 #637930
triadic
#796A30 #30796A #6A3079
tetradic
#796A30 #307945 #303F79 #793063
square
#796A30 #307945 #303F79 #793063
split-complementary
#796A30 #306379 #453079
monochromatic
#211D0D #4D441F #796A30 #A59041 #C1AE62

Accessibility & contrast

On white

5.36
#796A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#796A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796A30
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796A30#FFFFFF#000000##FFFFFF
##796A301.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#82635D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #796a30;
/* rgb */ color: rgb(121, 106, 48);
/* oklch */ color: oklch(52.6% 0.080 95.0);
Tailwind
colors: {
  custom: {
    50: '#a2946a',
    500: '#796a30',
    950: '#000000',
  },
}
SCSS
$custom: #796a30;
$custom-light: #a2946a;
$custom-dark: #000000;
JSON
{
  "hex": "#796a30",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 48
  },
  "hsl": {
    "h": 47.671,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5258,
    "c": 0.07978,
    "h": 95
  },
  "luminance": 0.14586
}

Semantic roles & 50–950 ramp

primary
#796A30
secondary
#5D6CA8
accent
#6FD355
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796A30

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

Preview Lab → · Contrast checker → · Palette generator →

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