#79851D#79851D

#79851D is a mid, vivid yellow. Relative luminance 0.209; OKLCH L 58.8% C 0.124 H 116.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#79851D
RGBrgb(121, 133, 29)
HSLhsl(67, 64%, 32%)
HSVhsv(67, 78%, 52%)
CMYKcmyk(9%, 0%, 78.2%, 47.8%)
CIE-LABlab(52.87, -17.97, 50.46)
CIE-LCHlch(52.87, 53.57, 109.60°)
OKLaboklab(58.76% -0.0546 0.1109)
OKLCHoklch(58.76% 0.124 116.2)
XYZxyz(16.4949, 20.9290, 4.3329)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79851D #291D85
analogous
#855D1D #79851D #45851D
triadic
#79851D #1D7985 #851D79
tetradic
#79851D #1D855D #291D85 #851D45
square
#79851D #1D855D #291D85 #851D45
split-complementary
#79851D #1D4585 #5D1D85
monochromatic
#1E2107 #4B5312 #79851D #A7B728 #C6D746

Accessibility & contrast

On white

4.05
#79851D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#79851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79851D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79851D#FFFFFF#000000##000000
##79851D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E03
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#817D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #79851d;
/* rgb */ color: rgb(121, 133, 29);
/* oklch */ color: oklch(58.8% 0.124 116.2);
Tailwind
colors: {
  custom: {
    50: '#a3a862',
    500: '#79851d',
    950: '#000000',
  },
}
SCSS
$custom: #79851d;
$custom-light: #a3a862;
$custom-dark: #000000;
JSON
{
  "hex": "#79851d",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 66.923,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58758,
    "c": 0.12355,
    "h": 116.2
  },
  "luminance": 0.20929
}

Semantic roles & 50–950 ramp

primary
#79851D
secondary
#5346B8
accent
#41E754
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79851D

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

Preview Lab → · Contrast checker → · Palette generator →

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