#79771E#79771E

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

Color values

HEX#79771E
RGBrgb(121, 119, 30)
HSLhsl(59, 60%, 30%)
HSVhsv(59, 75%, 47%)
CMYKcmyk(0%, 1.7%, 75.2%, 52.5%)
CIE-LABlab(48.70, -10.40, 46.18)
CIE-LCHlch(48.70, 47.34, 102.69°)
OKLaboklab(55.42% -0.0334 0.102)
OKLCHoklch(55.42% 0.107 108.1)
XYZxyz(14.7169, 17.3528, 3.8022)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79771E #1E2079
analogous
#79491E #79771E #4E791E
triadic
#79771E #1E7977 #771E79
tetradic
#79771E #1E7949 #1E2079 #791E4E
square
#79771E #1E7949 #1E2079 #791E4E
split-complementary
#79771E #1E4E79 #491E79
monochromatic
#191806 #484712 #79771E #AAA72A #D0CD41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79771E#FFFFFF#000000##FFFFFF
##79771E1.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)
#81720D
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#826F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #79771e;
/* rgb */ color: rgb(121, 119, 30);
/* oklch */ color: oklch(55.4% 0.107 108.1);
Tailwind
colors: {
  custom: {
    50: '#a39e61',
    500: '#79771e',
    950: '#000000',
  },
}
SCSS
$custom: #79771e;
$custom-light: #a39e61;
$custom-dark: #000000;
JSON
{
  "hex": "#79771e",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 58.681,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5542,
    "c": 0.10731,
    "h": 108.1
  },
  "luminance": 0.17352
}

Semantic roles & 50–950 ramp

primary
#79771E
secondary
#4648AD
accent
#48E344
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79771E

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

Preview Lab → · Contrast checker → · Palette generator →

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