#79821D#79821D

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

Color values

HEX#79821D
RGBrgb(121, 130, 29)
HSLhsl(65, 64%, 31%)
HSVhsv(65, 78%, 51%)
CMYKcmyk(6.9%, 0%, 77.7%, 49%)
CIE-LABlab(51.97, -16.39, 49.63)
CIE-LCHlch(51.97, 52.26, 108.27°)
OKLaboklab(58.04% -0.0502 0.1091)
OKLCHoklch(58.04% 0.12 114.7)
XYZxyz(16.0900, 20.1192, 4.1980)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79821D #261D82
analogous
#82581D #79821D #46821D
triadic
#79821D #1D7982 #821D79
tetradic
#79821D #1D8258 #261D82 #821D46
square
#79821D #1D8258 #261D82 #821D46
split-complementary
#79821D #1D4682 #581D82
monochromatic
#1C1E07 #4A5012 #79821D #A8B428 #C8D544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79821D#FFFFFF#000000##000000
##79821D1.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)
#8C7B05
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#817A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #79821d;
/* rgb */ color: rgb(121, 130, 29);
/* oklch */ color: oklch(58.0% 0.120 114.7);
Tailwind
colors: {
  custom: {
    50: '#a3a662',
    500: '#79821d',
    950: '#000000',
  },
}
SCSS
$custom: #79821d;
$custom-light: #a3a662;
$custom-dark: #000000;
JSON
{
  "hex": "#79821d",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 65.347,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58035,
    "c": 0.12007,
    "h": 114.7
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#79821D
secondary
#5046B5
accent
#41E750
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79821D

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

Preview Lab → · Contrast checker → · Palette generator →

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