#79781B#79781B

#79781B 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#79781B
RGBrgb(121, 120, 27)
HSLhsl(59, 64%, 29%)
HSVhsv(59, 78%, 47%)
CMYKcmyk(0%, 0.8%, 77.7%, 52.5%)
CIE-LABlab(48.98, -11.09, 47.55)
CIE-LCHlch(48.98, 48.82, 103.13°)
OKLaboklab(55.64% -0.0356 0.1043)
OKLCHoklch(55.64% 0.11 108.9)
XYZxyz(14.8000, 17.5775, 3.6499)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79781B #1B1C79
analogous
#79491B #79781B #4B791B
triadic
#79781B #1B7978 #781B79
tetradic
#79781B #1B7949 #1B1C79 #791B4B
square
#79781B #1B7949 #1B1C79 #791B4B
split-complementary
#79781B #1B4B79 #491B79
monochromatic
#191906 #474610 #79781B #ABAA26 #D3D23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79781B#FFFFFF#000000##FFFFFF
##79781B1.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)
#827306
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#827066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #79781b;
/* rgb */ color: rgb(121, 120, 27);
/* oklch */ color: oklch(55.6% 0.110 108.9);
Tailwind
colors: {
  custom: {
    50: '#a39e60',
    500: '#79781b',
    950: '#000000',
  },
}
SCSS
$custom: #79781b;
$custom-light: #a39e60;
$custom-dark: #000000;
JSON
{
  "hex": "#79781b",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 59.362,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.1102,
    "h": 108.9
  },
  "luminance": 0.17577
}

Semantic roles & 50–950 ramp

primary
#79781B
secondary
#4344AD
accent
#43E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79781B

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

Preview Lab → · Contrast checker → · Palette generator →

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