#79821A#79821A

#79821A is a mid, vivid yellow. Relative luminance 0.201; OKLCH L 58.0% C 0.122 H 114.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#79821A
RGBrgb(121, 130, 26)
HSLhsl(65, 67%, 31%)
HSVhsv(65, 80%, 51%)
CMYKcmyk(6.9%, 0%, 80%, 49%)
CIE-LABlab(51.96, -16.52, 50.61)
CIE-LCHlch(51.96, 53.24, 108.08°)
OKLaboklab(58.02% -0.0508 0.1106)
OKLCHoklch(58.02% 0.122 114.7)
XYZxyz(16.0547, 20.1051, 4.0120)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79821A #231A82
analogous
#82571A #79821A #45821A
triadic
#79821A #1A7982 #821A79
tetradic
#79821A #1A8257 #231A82 #821A45
square
#79821A #1A8257 #231A82 #821A45
split-complementary
#79821A #1A4582 #571A82
monochromatic
#1A1C06 #4A4F10 #79821A #A8B524 #CBD83E

Accessibility & contrast

On white

4.18
#79821A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#79821A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79821A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79821A#FFFFFF#000000##000000
##79821A1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#817A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #79821a;
/* rgb */ color: rgb(121, 130, 26);
/* oklch */ color: oklch(58.0% 0.122 114.7);
Tailwind
colors: {
  custom: {
    50: '#a3a661',
    500: '#79821a',
    950: '#000000',
  },
}
SCSS
$custom: #79821a;
$custom-light: #a3a661;
$custom-dark: #000000;
JSON
{
  "hex": "#79821a",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 65.192,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.12172,
    "h": 114.7
  },
  "luminance": 0.20105
}

Semantic roles & 50–950 ramp

primary
#79821A
secondary
#4C42B6
accent
#3EEA4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79821A

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

Preview Lab → · Contrast checker → · Palette generator →

#79821A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva