#79821C#79821C

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

Color values

HEX#79821C
RGBrgb(121, 130, 28)
HSLhsl(65, 65%, 31%)
HSVhsv(65, 78%, 51%)
CMYKcmyk(6.9%, 0%, 78.5%, 49%)
CIE-LABlab(51.97, -16.43, 49.96)
CIE-LCHlch(51.97, 52.60, 108.21°)
OKLaboklab(58.03% -0.0504 0.1096)
OKLCHoklch(58.03% 0.121 114.7)
XYZxyz(16.0779, 20.1143, 4.1339)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79821C #251C82
analogous
#82581C #79821C #46821C
triadic
#79821C #1C7982 #821C79
tetradic
#79821C #1C8258 #251C82 #821C46
square
#79821C #1C8258 #251C82 #821C46
split-complementary
#79821C #1C4682 #581C82
monochromatic
#1B1D06 #4A5011 #79821C #A8B427 #C9D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79821C#FFFFFF#000000##000000
##79821C1.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)
#8C7B02
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#817A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #79821c;
/* rgb */ color: rgb(121, 130, 28);
/* oklch */ color: oklch(58.0% 0.121 114.7);
Tailwind
colors: {
  custom: {
    50: '#a3a661',
    500: '#79821c',
    950: '#000000',
  },
}
SCSS
$custom: #79821c;
$custom-light: #a3a661;
$custom-dark: #000000;
JSON
{
  "hex": "#79821c",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 65.294,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.12064,
    "h": 114.7
  },
  "luminance": 0.20114
}

Semantic roles & 50–950 ramp

primary
#79821C
secondary
#4E44B5
accent
#40E84F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79821C

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

Preview Lab → · Contrast checker → · Palette generator →

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