#79822B#79822B

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

Color values

HEX#79822B
RGBrgb(121, 130, 43)
HSLhsl(66, 50%, 34%)
HSVhsv(66, 67%, 51%)
CMYKcmyk(6.9%, 0%, 66.9%, 49%)
CIE-LABlab(52.07, -15.58, 44.21)
CIE-LCHlch(52.07, 46.88, 109.41°)
OKLaboklab(58.14% -0.0465 0.1001)
OKLCHoklch(58.14% 0.11 114.9)
XYZxyz(16.3042, 20.2049, 5.3261)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79822B #342B82
analogous
#82602B #79822B #4E822B
triadic
#79822B #2B7982 #822B79
tetradic
#79822B #2B8260 #342B82 #822B4E
square
#79822B #2B8260 #342B82 #822B4E
split-complementary
#79822B #2B4E82 #602B82
monochromatic
#23260D #4E541C #79822B #A4B03A #BECA5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79822B#FFFFFF#000000##000000
##79822B1.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)
#8B7C1F
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#817B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #79822b;
/* rgb */ color: rgb(121, 130, 43);
/* oklch */ color: oklch(58.1% 0.110 114.9);
Tailwind
colors: {
  custom: {
    50: '#a2a669',
    500: '#79822b',
    950: '#000000',
  },
}
SCSS
$custom: #79822b;
$custom-light: #a2a669;
$custom-dark: #000000;
JSON
{
  "hex": "#79822b",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 66.207,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58143,
    "c": 0.11042,
    "h": 114.9
  },
  "luminance": 0.20205
}

Semantic roles & 50–950 ramp

primary
#79822B
secondary
#6259B0
accent
#4EDA5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79822B

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

Preview Lab → · Contrast checker → · Palette generator →

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