#79781E#79781E

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

Color values

HEX#79781E
RGBrgb(121, 120, 30)
HSLhsl(59, 60%, 30%)
HSVhsv(59, 75%, 47%)
CMYKcmyk(0%, 0.8%, 75.2%, 52.5%)
CIE-LABlab(49.00, -10.95, 46.47)
CIE-LCHlch(49.00, 47.74, 103.26°)
OKLaboklab(55.66% -0.0349 0.1026)
OKLCHoklch(55.66% 0.108 108.8)
XYZxyz(14.8365, 17.5921, 3.8421)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79781E #1E1F79
analogous
#794B1E #79781E #4C791E
triadic
#79781E #1E7978 #781E79
tetradic
#79781E #1E794B #1E1F79 #791E4C
square
#79781E #1E794B #1E1F79 #791E4C
split-complementary
#79781E #1E4C79 #4B1E79
monochromatic
#191806 #484712 #79781E #AAA92A #D0CE41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79781E#FFFFFF#000000##FFFFFF
##79781E1.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)
#82730D
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#827067
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #79781e;
/* rgb */ color: rgb(121, 120, 30);
/* oklch */ color: oklch(55.7% 0.108 108.8);
Tailwind
colors: {
  custom: {
    50: '#a39e61',
    500: '#79781e',
    950: '#000000',
  },
}
SCSS
$custom: #79781e;
$custom-light: #a39e61;
$custom-dark: #000000;
JSON
{
  "hex": "#79781e",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 59.341,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55657,
    "c": 0.10836,
    "h": 108.8
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

primary
#79781E
secondary
#4647AD
accent
#46E344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #79781E

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

Preview Lab → · Contrast checker → · Palette generator →

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