#79822C#79822C

#79822C is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.110 H 115.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#79822C
RGBrgb(121, 130, 44)
HSLhsl(66, 49%, 34%)
HSVhsv(66, 66%, 51%)
CMYKcmyk(6.9%, 0%, 66.2%, 49%)
CIE-LABlab(52.08, -15.51, 43.78)
CIE-LCHlch(52.08, 46.45, 109.51°)
OKLaboklab(58.15% -0.0462 0.0994)
OKLCHoklch(58.15% 0.11 115)
XYZxyz(16.3228, 20.2123, 5.4239)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79822C #352C82
analogous
#82602C #79822C #4E822C
triadic
#79822C #2C7982 #822C79
tetradic
#79822C #2C8260 #352C82 #822C4E
square
#79822C #2C8260 #352C82 #822C4E
split-complementary
#79822C #2C4E82 #602C82
monochromatic
#24270D #4E541D #79822C #A4B03B #BEC95F

Accessibility & contrast

On white

4.16
#79822C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#79822C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79822C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79822C#FFFFFF#000000##000000
##79822C1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C21
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#817B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #79822c;
/* rgb */ color: rgb(121, 130, 44);
/* oklch */ color: oklch(58.2% 0.110 115.0);
Tailwind
colors: {
  custom: {
    50: '#a2a66a',
    500: '#79822c',
    950: '#000000',
  },
}
SCSS
$custom: #79822c;
$custom-light: #a2a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#79822c",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 66.279,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58152,
    "c": 0.10961,
    "h": 115
  },
  "luminance": 0.20212
}

Semantic roles & 50–950 ramp

primary
#79822C
secondary
#635BAF
accent
#4FD95D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79822C

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

Preview Lab → · Contrast checker → · Palette generator →

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