#79851B#79851B

#79851B 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#79851B
RGBrgb(121, 133, 27)
HSLhsl(67, 66%, 31%)
HSVhsv(67, 80%, 52%)
CMYKcmyk(9%, 0%, 79.7%, 47.8%)
CIE-LABlab(52.86, -18.06, 51.11)
CIE-LCHlch(52.86, 54.21, 109.46°)
OKLaboklab(58.75% -0.055 0.1119)
OKLCHoklch(58.75% 0.125 116.2)
XYZxyz(16.4710, 20.9194, 4.2069)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79851B #271B85
analogous
#855C1B #79851B #44851B
triadic
#79851B #1B7985 #851B79
tetradic
#79851B #1B855C #271B85 #851B44
square
#79851B #1B855C #271B85 #851B44
split-complementary
#79851B #1B4485 #5C1B85
monochromatic
#1C1F06 #4B5211 #79851B #A7B825 #C8D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79851B#FFFFFF#000000##000000
##79851B1.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)
#8E7F25
Tritanopia (blue-blind)
#817D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #79851b;
/* rgb */ color: rgb(121, 133, 27);
/* oklch */ color: oklch(58.7% 0.125 116.2);
Tailwind
colors: {
  custom: {
    50: '#a3a861',
    500: '#79851b',
    950: '#000000',
  },
}
SCSS
$custom: #79851b;
$custom-light: #a3a861;
$custom-dark: #000000;
JSON
{
  "hex": "#79851b",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 66.792,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58746,
    "c": 0.12464,
    "h": 116.2
  },
  "luminance": 0.20919
}

Semantic roles & 50–950 ramp

primary
#79851B
secondary
#5144B8
accent
#3FE952
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79851B

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

Preview Lab → · Contrast checker → · Palette generator →

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