#79771B#79771B

#79771B is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.109 H 108.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#79771B
RGBrgb(121, 119, 27)
HSLhsl(59, 64%, 29%)
HSVhsv(59, 78%, 47%)
CMYKcmyk(0%, 1.7%, 77.7%, 52.5%)
CIE-LABlab(48.68, -10.54, 47.27)
CIE-LCHlch(48.68, 48.43, 102.57°)
OKLaboklab(55.4% -0.0341 0.1037)
OKLCHoklch(55.4% 0.109 108.2)
XYZxyz(14.6804, 17.3382, 3.6100)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79771B #1B1D79
analogous
#79481B #79771B #4C791B
triadic
#79771B #1B7977 #771B79
tetradic
#79771B #1B7948 #1B1D79 #791B4C
square
#79771B #1B7948 #1B1D79 #791B4C
split-complementary
#79771B #1B4C79 #481B79
monochromatic
#191906 #474610 #79771B #ABA826 #D3D03B

Accessibility & contrast

On white

4.70
#79771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#79771B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79771B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79771B#FFFFFF#000000##FFFFFF
##79771B1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817206
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#826F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #79771b;
/* rgb */ color: rgb(121, 119, 27);
/* oklch */ color: oklch(55.4% 0.109 108.2);
Tailwind
colors: {
  custom: {
    50: '#a39e5f',
    500: '#79771b',
    950: '#000000',
  },
}
SCSS
$custom: #79771b;
$custom-light: #a39e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#79771b",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 58.723,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.554,
    "c": 0.10916,
    "h": 108.2
  },
  "luminance": 0.17338
}

Semantic roles & 50–950 ramp

primary
#79771B
secondary
#4345AD
accent
#45E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79771B

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

Preview Lab → · Contrast checker → · Palette generator →

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