#79841C#79841C

#79841C is a mid, vivid yellow. Relative luminance 0.207; 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#79841C
RGBrgb(121, 132, 28)
HSLhsl(66, 65%, 31%)
HSVhsv(66, 79%, 52%)
CMYKcmyk(8.3%, 0%, 78.8%, 48.2%)
CIE-LABlab(52.57, -17.49, 50.52)
CIE-LCHlch(52.57, 53.46, 109.09°)
OKLaboklab(58.51% -0.0533 0.1108)
OKLCHoklch(58.51% 0.123 115.7)
XYZxyz(16.3465, 20.6516, 4.2234)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79841C #271C84
analogous
#845B1C #79841C #45841C
triadic
#79841C #1C7984 #841C79
tetradic
#79841C #1C845B #271C84 #841C45
square
#79841C #1C845B #271C84 #841C45
split-complementary
#79841C #1C4584 #5B1C84
monochromatic
#1C1F07 #4B5211 #79841C #A7B627 #C8D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #79841c;
/* rgb */ color: rgb(121, 132, 28);
/* oklch */ color: oklch(58.5% 0.123 115.7);
Tailwind
colors: {
  custom: {
    50: '#a3a762',
    500: '#79841c',
    950: '#000000',
  },
}
SCSS
$custom: #79841c;
$custom-light: #a3a762;
$custom-dark: #000000;
JSON
{
  "hex": "#79841c",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 66.346,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.12294,
    "h": 115.7
  },
  "luminance": 0.20651
}

Semantic roles & 50–950 ramp

primary
#79841C
secondary
#5145B7
accent
#40E852
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79841C

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

Preview Lab → · Contrast checker → · Palette generator →

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