#79851F#79851F

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

Color values

HEX#79851F
RGBrgb(121, 133, 31)
HSLhsl(67, 62%, 32%)
HSVhsv(67, 77%, 52%)
CMYKcmyk(9%, 0%, 76.7%, 47.8%)
CIE-LABlab(52.88, -17.87, 49.78)
CIE-LCHlch(52.88, 52.89, 109.75°)
OKLaboklab(58.77% -0.0541 0.1098)
OKLCHoklch(58.77% 0.122 116.2)
XYZxyz(16.5204, 20.9392, 4.4674)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79851F #2B1F85
analogous
#855E1F #79851F #46851F
triadic
#79851F #1F7985 #851F79
tetradic
#79851F #1F855E #2B1F85 #851F46
square
#79851F #1F855E #2B1F85 #851F46
split-complementary
#79851F #1F4685 #5E1F85
monochromatic
#1F2208 #4C5313 #79851F #A6B72B #C4D54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79851F#FFFFFF#000000##000000
##79851F1.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)
#8F7E08
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#817D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #79851f;
/* rgb */ color: rgb(121, 133, 31);
/* oklch */ color: oklch(58.8% 0.122 116.2);
Tailwind
colors: {
  custom: {
    50: '#a3a863',
    500: '#79851f',
    950: '#000000',
  },
}
SCSS
$custom: #79851f;
$custom-light: #a3a863;
$custom-dark: #000000;
JSON
{
  "hex": "#79851f",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 67.059,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5877,
    "c": 0.1224,
    "h": 116.2
  },
  "luminance": 0.20939
}

Semantic roles & 50–950 ramp

primary
#79851F
secondary
#5649B7
accent
#43E556
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79851F

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

Preview Lab → · Contrast checker → · Palette generator →

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