#79841A#79841A

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

Color values

HEX#79841A
RGBrgb(121, 132, 26)
HSLhsl(66, 67%, 31%)
HSVhsv(66, 80%, 52%)
CMYKcmyk(8.3%, 0%, 80.3%, 48.2%)
CIE-LABlab(52.56, -17.57, 51.16)
CIE-LCHlch(52.56, 54.09, 108.96°)
OKLaboklab(58.5% -0.0537 0.1118)
OKLCHoklch(58.5% 0.124 115.7)
XYZxyz(16.3233, 20.6423, 4.1016)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79841A #251A84
analogous
#845A1A #79841A #44841A
triadic
#79841A #1A7984 #841A79
tetradic
#79841A #1A845A #251A84 #841A44
square
#79841A #1A845A #251A84 #841A44
split-complementary
#79841A #1A4484 #5A1A84
monochromatic
#1B1E06 #4A5110 #79841A #A8B724 #C9D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79841A#FFFFFF#000000##000000
##79841A1.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)
#8E7D00
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#817C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #79841a;
/* rgb */ color: rgb(121, 132, 26);
/* oklch */ color: oklch(58.5% 0.124 115.7);
Tailwind
colors: {
  custom: {
    50: '#a3a761',
    500: '#79841a',
    950: '#000000',
  },
}
SCSS
$custom: #79841a;
$custom-light: #a3a761;
$custom-dark: #000000;
JSON
{
  "hex": "#79841a",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 66.226,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58499,
    "c": 0.124,
    "h": 115.7
  },
  "luminance": 0.20642
}

Semantic roles & 50–950 ramp

primary
#79841A
secondary
#4E42B8
accent
#3EEA50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79841A

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

Preview Lab → · Contrast checker → · Palette generator →

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