#79822F#79822F

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

Color values

HEX#79822F
RGBrgb(121, 130, 47)
HSLhsl(67, 47%, 35%)
HSVhsv(67, 64%, 51%)
CMYKcmyk(6.9%, 0%, 63.8%, 49%)
CIE-LABlab(52.10, -15.29, 42.46)
CIE-LCHlch(52.10, 45.13, 109.81°)
OKLaboklab(58.18% -0.0453 0.0971)
OKLCHoklch(58.18% 0.107 115)
XYZxyz(16.3812, 20.2357, 5.7317)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79822F #382F82
analogous
#82622F #79822F #50822F
triadic
#79822F #2F7982 #822F79
tetradic
#79822F #2F8262 #382F82 #822F50
square
#79822F #2F8262 #382F82 #822F50
split-complementary
#79822F #2F5082 #622F82
monochromatic
#25280E #4F551F #79822F #A3AF3F #BCC764

Accessibility & contrast

On white

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

On black

5.05
#79822F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79822F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79822F#FFFFFF#000000##000000
##79822F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C25
Deuteranopia (green-blind)
#8A7D34
Tritanopia (blue-blind)
#817B71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #79822f;
/* rgb */ color: rgb(121, 130, 47);
/* oklch */ color: oklch(58.2% 0.107 115.0);
Tailwind
colors: {
  custom: {
    50: '#a2a66c',
    500: '#79822f',
    950: '#000000',
  },
}
SCSS
$custom: #79822f;
$custom-light: #a2a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#79822f",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 66.506,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.1071,
    "h": 115
  },
  "luminance": 0.20235
}

Semantic roles & 50–950 ramp

primary
#79822F
secondary
#675FAE
accent
#51D760
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79822F

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

Preview Lab → · Contrast checker → · Palette generator →

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