#79771C#79771C

#79771C 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#79771C
RGBrgb(121, 119, 28)
HSLhsl(59, 62%, 29%)
HSVhsv(59, 77%, 47%)
CMYKcmyk(0%, 1.7%, 76.9%, 52.5%)
CIE-LABlab(48.69, -10.49, 46.92)
CIE-LCHlch(48.69, 48.08, 102.61°)
OKLaboklab(55.41% -0.0339 0.1031)
OKLCHoklch(55.41% 0.109 108.2)
XYZxyz(14.6921, 17.3429, 3.6720)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79771C #1C1E79
analogous
#79491C #79771C #4D791C
triadic
#79771C #1C7977 #771C79
tetradic
#79771C #1C7949 #1C1E79 #791C4D
square
#79771C #1C7949 #1C1E79 #791C4D
split-complementary
#79771C #1C4D79 #491C79
monochromatic
#191806 #474610 #79771C #ABA828 #D2CF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79771C#FFFFFF#000000##FFFFFF
##79771C1.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)
#817209
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#826F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #79771c;
/* rgb */ color: rgb(121, 119, 28);
/* oklch */ color: oklch(55.4% 0.109 108.2);
Tailwind
colors: {
  custom: {
    50: '#a39e60',
    500: '#79771c',
    950: '#000000',
  },
}
SCSS
$custom: #79771c;
$custom-light: #a39e60;
$custom-dark: #000000;
JSON
{
  "hex": "#79771c",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 58.71,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55407,
    "c": 0.10856,
    "h": 108.2
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#79771C
secondary
#4446AD
accent
#46E542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79771C

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

Preview Lab → · Contrast checker → · Palette generator →

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