#79851C#79851C

#79851C 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.18:1 contrast (WCAG AA passes).

Color values

HEX#79851C
RGBrgb(121, 133, 28)
HSLhsl(67, 65%, 32%)
HSVhsv(67, 79%, 52%)
CMYKcmyk(9%, 0%, 78.9%, 47.8%)
CIE-LABlab(52.87, -18.01, 50.79)
CIE-LCHlch(52.87, 53.89, 109.53°)
OKLaboklab(58.75% -0.0548 0.1114)
OKLCHoklch(58.75% 0.124 116.2)
XYZxyz(16.4827, 20.9241, 4.2688)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79851C #281C85
analogous
#855D1C #79851C #45851C
triadic
#79851C #1C7985 #851C79
tetradic
#79851C #1C855D #281C85 #851C45
square
#79851C #1C855D #281C85 #851C45
split-complementary
#79851C #1C4585 #5D1C85
monochromatic
#1D2007 #4B5211 #79851C #A7B827 #C7D844

Accessibility & contrast

On white

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

On black

5.18
#79851C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79851C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79851C#FFFFFF#000000##000000
##79851C1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79851c;
/* rgb */ color: rgb(121, 133, 28);
/* oklch */ color: oklch(58.8% 0.124 116.2);
Tailwind
colors: {
  custom: {
    50: '#a3a862',
    500: '#79851c',
    950: '#000000',
  },
}
SCSS
$custom: #79851c;
$custom-light: #a3a862;
$custom-dark: #000000;
JSON
{
  "hex": "#79851c",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 66.857,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.1241,
    "h": 116.2
  },
  "luminance": 0.20924
}

Semantic roles & 50–950 ramp

primary
#79851C
secondary
#5245B8
accent
#40E853
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79851C

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

Preview Lab → · Contrast checker → · Palette generator →

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