#79822A#79822A

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

Color values

HEX#79822A
RGBrgb(121, 130, 42)
HSLhsl(66, 51%, 34%)
HSVhsv(66, 68%, 51%)
CMYKcmyk(6.9%, 0%, 67.7%, 49%)
CIE-LABlab(52.06, -15.65, 44.64)
CIE-LCHlch(52.06, 47.30, 109.32°)
OKLaboklab(58.13% -0.0468 0.1009)
OKLCHoklch(58.13% 0.111 114.9)
XYZxyz(16.2861, 20.1976, 5.2306)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79822A #332A82
analogous
#825F2A #79822A #4D822A
triadic
#79822A #2A7982 #822A79
tetradic
#79822A #2A825F #332A82 #822A4D
square
#79822A #2A825F #332A82 #822A4D
split-complementary
#79822A #2A4D82 #5F2A82
monochromatic
#23250C #4E541B #79822A #A4B039 #BFCA5C

Accessibility & contrast

On white

4.17
#79822A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##79822A#FFFFFF#000000##000000
##79822A1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1E
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#817A70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #79822a;
/* rgb */ color: rgb(121, 130, 42);
/* oklch */ color: oklch(58.1% 0.111 114.9);
Tailwind
colors: {
  custom: {
    50: '#a2a669',
    500: '#79822a',
    950: '#000000',
  },
}
SCSS
$custom: #79822a;
$custom-light: #a2a669;
$custom-dark: #000000;
JSON
{
  "hex": "#79822a",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 66.136,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58134,
    "c": 0.11121,
    "h": 114.9
  },
  "luminance": 0.20197
}

Semantic roles & 50–950 ramp

primary
#79822A
secondary
#6158B0
accent
#4DDB5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79822A

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

Preview Lab → · Contrast checker → · Palette generator →

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