#79781A#79781A

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

Color values

HEX#79781A
RGBrgb(121, 120, 26)
HSLhsl(59, 65%, 29%)
HSVhsv(59, 79%, 47%)
CMYKcmyk(0%, 0.8%, 78.5%, 52.5%)
CIE-LABlab(48.97, -11.13, 47.89)
CIE-LCHlch(48.97, 49.17, 103.09°)
OKLaboklab(55.63% -0.0359 0.1048)
OKLCHoklch(55.63% 0.111 108.9)
XYZxyz(14.7886, 17.5729, 3.5900)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79781A #1A1B79
analogous
#79491A #79781A #4B791A
triadic
#79781A #1A7978 #781A79
tetradic
#79781A #1A7949 #1A1B79 #791A4B
square
#79781A #1A7949 #1A1B79 #791A4B
split-complementary
#79781A #1A4B79 #491A79
monochromatic
#191905 #47460F #79781A #ABAA25 #D4D339

Accessibility & contrast

On white

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

On black

4.51
#79781A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##79781A#FFFFFF#000000##FFFFFF
##79781A1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827304
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#827066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #79781a;
/* rgb */ color: rgb(121, 120, 26);
/* oklch */ color: oklch(55.6% 0.111 108.9);
Tailwind
colors: {
  custom: {
    50: '#a39e5f',
    500: '#79781a',
    950: '#000000',
  },
}
SCSS
$custom: #79781a;
$custom-light: #a39e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#79781a",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 59.368,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5563,
    "c": 0.11077,
    "h": 108.9
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#79781A
secondary
#4143AD
accent
#42E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79781A

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

Preview Lab → · Contrast checker → · Palette generator →

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