#79841D#79841D

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

Color values

HEX#79841D
RGBrgb(121, 132, 29)
HSLhsl(66, 64%, 32%)
HSVhsv(66, 78%, 52%)
CMYKcmyk(8.3%, 0%, 78%, 48.2%)
CIE-LABlab(52.57, -17.44, 50.18)
CIE-LCHlch(52.57, 53.13, 109.17°)
OKLaboklab(58.52% -0.0531 0.1103)
OKLCHoklch(58.52% 0.122 115.7)
XYZxyz(16.3586, 20.6564, 4.2875)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79841D #281D84
analogous
#845C1D #79841D #46841D
triadic
#79841D #1D7984 #841D79
tetradic
#79841D #1D845C #281D84 #841D46
square
#79841D #1D845C #281D84 #841D46
split-complementary
#79841D #1D4684 #5C1D84
monochromatic
#1D2007 #4B5212 #79841D #A7B628 #C7D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79841D#FFFFFF#000000##000000
##79841D1.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)
#8E7D04
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#817C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #79841d;
/* rgb */ color: rgb(121, 132, 29);
/* oklch */ color: oklch(58.5% 0.122 115.7);
Tailwind
colors: {
  custom: {
    50: '#a3a762',
    500: '#79841d',
    950: '#000000',
  },
}
SCSS
$custom: #79841d;
$custom-light: #a3a762;
$custom-dark: #000000;
JSON
{
  "hex": "#79841d",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 66.408,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.12238,
    "h": 115.7
  },
  "luminance": 0.20656
}

Semantic roles & 50–950 ramp

primary
#79841D
secondary
#5246B7
accent
#41E753
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79841D

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

Preview Lab → · Contrast checker → · Palette generator →

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