#79821B#79821B

#79821B 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#79821B
RGBrgb(121, 130, 27)
HSLhsl(65, 66%, 31%)
HSVhsv(65, 79%, 51%)
CMYKcmyk(6.9%, 0%, 79.2%, 49%)
CIE-LABlab(51.96, -16.48, 50.29)
CIE-LCHlch(51.96, 52.92, 108.14°)
OKLaboklab(58.02% -0.0506 0.1101)
OKLCHoklch(58.02% 0.121 114.7)
XYZxyz(16.0661, 20.1096, 4.0719)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79821B #241B82
analogous
#82571B #79821B #45821B
triadic
#79821B #1B7982 #821B79
tetradic
#79821B #1B8257 #241B82 #821B45
square
#79821B #1B8257 #241B82 #821B45
split-complementary
#79821B #1B4582 #571B82
monochromatic
#1B1D06 #4A4F10 #79821B #A8B526 #CAD740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79821B#FFFFFF#000000##000000
##79821B1.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: #79821b;
/* rgb */ color: rgb(121, 130, 27);
/* oklch */ color: oklch(58.0% 0.121 114.7);
Tailwind
colors: {
  custom: {
    50: '#a3a661',
    500: '#79821b',
    950: '#000000',
  },
}
SCSS
$custom: #79821b;
$custom-light: #a3a661;
$custom-dark: #000000;
JSON
{
  "hex": "#79821b",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 65.243,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58023,
    "c": 0.12119,
    "h": 114.7
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#79821B
secondary
#4D43B6
accent
#3FE94E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79821B

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

Preview Lab → · Contrast checker → · Palette generator →

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