#79841B#79841B

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

Color values

HEX#79841B
RGBrgb(121, 132, 27)
HSLhsl(66, 66%, 31%)
HSVhsv(66, 80%, 52%)
CMYKcmyk(8.3%, 0%, 79.5%, 48.2%)
CIE-LABlab(52.56, -17.53, 50.84)
CIE-LCHlch(52.56, 53.78, 109.03°)
OKLaboklab(58.51% -0.0535 0.1113)
OKLCHoklch(58.51% 0.123 115.7)
XYZxyz(16.3347, 20.6469, 4.1614)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79841B #261B84
analogous
#845A1B #79841B #44841B
triadic
#79841B #1B7984 #841B79
tetradic
#79841B #1B845A #261B84 #841B44
square
#79841B #1B845A #261B84 #841B44
split-complementary
#79841B #1B4484 #5A1B84
monochromatic
#1C1E06 #4A5111 #79841B #A8B725 #C8D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79841B#FFFFFF#000000##000000
##79841B1.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)
#8D7E25
Tritanopia (blue-blind)
#817C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #79841b;
/* rgb */ color: rgb(121, 132, 27);
/* oklch */ color: oklch(58.5% 0.123 115.7);
Tailwind
colors: {
  custom: {
    50: '#a3a761',
    500: '#79841b',
    950: '#000000',
  },
}
SCSS
$custom: #79841b;
$custom-light: #a3a761;
$custom-dark: #000000;
JSON
{
  "hex": "#79841b",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 66.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.12348,
    "h": 115.7
  },
  "luminance": 0.20647
}

Semantic roles & 50–950 ramp

primary
#79841B
secondary
#5043B7
accent
#3FE951
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79841B

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

Preview Lab → · Contrast checker → · Palette generator →

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