#79781F#79781F

#79781F 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#79781F
RGBrgb(121, 120, 31)
HSLhsl(59, 59%, 30%)
HSVhsv(59, 74%, 47%)
CMYKcmyk(0%, 0.8%, 74.4%, 52.5%)
CIE-LABlab(49.00, -10.89, 46.09)
CIE-LCHlch(49.00, 47.36, 103.30°)
OKLaboklab(55.66% -0.0347 0.102)
OKLCHoklch(55.66% 0.108 108.8)
XYZxyz(14.8495, 17.5973, 3.9105)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79781F #1F2079
analogous
#794B1F #79781F #4D791F
triadic
#79781F #1F7978 #781F79
tetradic
#79781F #1F794B #1F2079 #791F4D
square
#79781F #1F794B #1F2079 #791F4D
split-complementary
#79781F #1F4D79 #4B1F79
monochromatic
#181806 #484813 #79781F #AAA82B #CFCD43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #79781f;
/* rgb */ color: rgb(121, 120, 31);
/* oklch */ color: oklch(55.7% 0.108 108.8);
Tailwind
colors: {
  custom: {
    50: '#a39e62',
    500: '#79781f',
    950: '#000000',
  },
}
SCSS
$custom: #79781f;
$custom-light: #a39e62;
$custom-dark: #000000;
JSON
{
  "hex": "#79781f",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 59.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55664,
    "c": 0.10771,
    "h": 108.8
  },
  "luminance": 0.17597
}

Semantic roles & 50–950 ramp

primary
#79781F
secondary
#4748AC
accent
#47E245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #79781F

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

Preview Lab → · Contrast checker → · Palette generator →

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