#79851A#79851A

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

Color values

HEX#79851A
RGBrgb(121, 133, 26)
HSLhsl(67, 67%, 31%)
HSVhsv(67, 80%, 52%)
CMYKcmyk(9%, 0%, 80.5%, 47.8%)
CIE-LABlab(52.86, -18.10, 51.43)
CIE-LCHlch(52.86, 54.52, 109.39°)
OKLaboklab(58.74% -0.0552 0.1123)
OKLCHoklch(58.74% 0.125 116.2)
XYZxyz(16.4596, 20.9148, 4.1470)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79851A #261A85
analogous
#855B1A #79851A #43851A
triadic
#79851A #1A7985 #851A79
tetradic
#79851A #1A855B #261A85 #851A43
square
#79851A #1A855B #261A85 #851A43
split-complementary
#79851A #1A4385 #5B1A85
monochromatic
#1C1F06 #4A5210 #79851A #A8B824 #C8DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79851A#FFFFFF#000000##000000
##79851A1.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)
#8F7E00
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#817D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #79851a;
/* rgb */ color: rgb(121, 133, 26);
/* oklch */ color: oklch(58.7% 0.125 116.2);
Tailwind
colors: {
  custom: {
    50: '#a3a861',
    500: '#79851a',
    950: '#000000',
  },
}
SCSS
$custom: #79851a;
$custom-light: #a3a861;
$custom-dark: #000000;
JSON
{
  "hex": "#79851a",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 66.729,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5874,
    "c": 0.12516,
    "h": 116.2
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#79851A
secondary
#5042B8
accent
#3EEA51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79851A

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

Preview Lab → · Contrast checker → · Palette generator →

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