#797220#797220

#797220 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.3% C 0.101 H 104.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#797220
RGBrgb(121, 114, 32)
HSLhsl(55, 58%, 30%)
HSVhsv(55, 74%, 47%)
CMYKcmyk(0%, 5.8%, 73.6%, 52.5%)
CIE-LABlab(47.24, -7.51, 43.98)
CIE-LCHlch(47.24, 44.61, 99.69°)
OKLaboklab(54.26% -0.0251 0.0977)
OKLCHoklch(54.26% 0.101 104.4)
XYZxyz(14.1638, 16.2044, 3.7479)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797220 #202779
analogous
#794620 #797220 #537920
triadic
#797220 #207972 #722079
tetradic
#797220 #207946 #202779 #792053
square
#797220 #207946 #202779 #792053
split-complementary
#797220 #205379 #462079
monochromatic
#181706 #494413 #797220 #A9A02D #CEC345

Accessibility & contrast

On white

4.95
#797220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#797220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797220
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797220#FFFFFF#000000##FFFFFF
##7972201.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E13
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#826A62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #797220;
/* rgb */ color: rgb(121, 114, 32);
/* oklch */ color: oklch(54.3% 0.101 104.4);
Tailwind
colors: {
  custom: {
    50: '#a39a61',
    500: '#797220',
    950: '#000000',
  },
}
SCSS
$custom: #797220;
$custom-light: #a39a61;
$custom-dark: #000000;
JSON
{
  "hex": "#797220",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 55.281,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.54261,
    "c": 0.10087,
    "h": 104.4
  },
  "luminance": 0.16204
}

Semantic roles & 50–950 ramp

primary
#797220
secondary
#4950AC
accent
#53E146
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #797220

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

Preview Lab → · Contrast checker → · Palette generator →

#797220 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva