#79841F#79841F

#79841F is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.5% C 0.121 H 115.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#79841F
RGBrgb(121, 132, 31)
HSLhsl(67, 62%, 32%)
HSVhsv(67, 77%, 52%)
CMYKcmyk(8.3%, 0%, 76.5%, 48.2%)
CIE-LABlab(52.58, -17.35, 49.50)
CIE-LCHlch(52.58, 52.45, 109.31°)
OKLaboklab(58.53% -0.0527 0.1092)
OKLCHoklch(58.53% 0.121 115.7)
XYZxyz(16.3842, 20.6667, 4.4220)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79841F #2A1F84
analogous
#845D1F #79841F #46841F
triadic
#79841F #1F7984 #841F79
tetradic
#79841F #1F845D #2A1F84 #841F46
square
#79841F #1F845D #2A1F84 #841F46
split-complementary
#79841F #1F4684 #5D1F84
monochromatic
#1E2108 #4C5213 #79841F #A6B62B #C5D449

Accessibility & contrast

On white

4.09
#79841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#79841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79841F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79841F#FFFFFF#000000##000000
##79841F1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D08
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#817C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #79841f;
/* rgb */ color: rgb(121, 132, 31);
/* oklch */ color: oklch(58.5% 0.121 115.7);
Tailwind
colors: {
  custom: {
    50: '#a3a763',
    500: '#79841f',
    950: '#000000',
  },
}
SCSS
$custom: #79841f;
$custom-light: #a3a763;
$custom-dark: #000000;
JSON
{
  "hex": "#79841f",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 66.535,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58529,
    "c": 0.12122,
    "h": 115.7
  },
  "luminance": 0.20666
}

Semantic roles & 50–950 ramp

primary
#79841F
secondary
#5448B7
accent
#43E554
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79841F

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

Preview Lab → · Contrast checker → · Palette generator →

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