#79781C#79781C

#79781C is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.6% C 0.110 H 108.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#79781C
RGBrgb(121, 120, 28)
HSLhsl(59, 62%, 29%)
HSVhsv(59, 77%, 47%)
CMYKcmyk(0%, 0.8%, 76.9%, 52.5%)
CIE-LABlab(48.99, -11.04, 47.19)
CIE-LCHlch(48.99, 48.47, 103.17°)
OKLaboklab(55.64% -0.0354 0.1037)
OKLCHoklch(55.64% 0.11 108.9)
XYZxyz(14.8118, 17.5822, 3.7119)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79781C #1C1D79
analogous
#794A1C #79781C #4C791C
triadic
#79781C #1C7978 #781C79
tetradic
#79781C #1C794A #1C1D79 #791C4C
square
#79781C #1C794A #1C1D79 #791C4C
split-complementary
#79781C #1C4C79 #4A1C79
monochromatic
#191906 #474710 #79781C #ABA928 #D2D13D

Accessibility & contrast

On white

4.65
#79781C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#79781C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #79781C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79781C#FFFFFF#000000##FFFFFF
##79781C1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827308
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#827067
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #79781c;
/* rgb */ color: rgb(121, 120, 28);
/* oklch */ color: oklch(55.6% 0.110 108.9);
Tailwind
colors: {
  custom: {
    50: '#a39e60',
    500: '#79781c',
    950: '#000000',
  },
}
SCSS
$custom: #79781c;
$custom-light: #a39e60;
$custom-dark: #000000;
JSON
{
  "hex": "#79781c",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 59.355,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.10961,
    "h": 108.9
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#79781C
secondary
#4445AD
accent
#44E542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79781C

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

Preview Lab → · Contrast checker → · Palette generator →

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