#79771A#79771A

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

Color values

HEX#79771A
RGBrgb(121, 119, 26)
HSLhsl(59, 65%, 29%)
HSVhsv(59, 79%, 47%)
CMYKcmyk(0%, 1.7%, 78.5%, 52.5%)
CIE-LABlab(48.68, -10.58, 47.62)
CIE-LCHlch(48.68, 48.78, 102.53°)
OKLaboklab(55.39% -0.0343 0.1042)
OKLCHoklch(55.39% 0.11 108.2)
XYZxyz(14.6690, 17.3337, 3.5501)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79771A #1A1C79
analogous
#79481A #79771A #4C791A
triadic
#79771A #1A7977 #771A79
tetradic
#79771A #1A7948 #1A1C79 #791A4C
square
#79771A #1A7948 #1A1C79 #791A4C
split-complementary
#79771A #1A4C79 #481A79
monochromatic
#191905 #47450F #79771A #ABA925 #D4D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79771A#FFFFFF#000000##FFFFFF
##79771A1.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)
#817204
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#826F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #79771a;
/* rgb */ color: rgb(121, 119, 26);
/* oklch */ color: oklch(55.4% 0.110 108.2);
Tailwind
colors: {
  custom: {
    50: '#a39e5f',
    500: '#79771a',
    950: '#000000',
  },
}
SCSS
$custom: #79771a;
$custom-light: #a39e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#79771a",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 58.737,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.10974,
    "h": 108.2
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#79771A
secondary
#4144AD
accent
#44E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79771A

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

Preview Lab → · Contrast checker → · Palette generator →

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