#78791B#78791B

#78791B is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.111 H 110.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#78791B
RGBrgb(120, 121, 27)
HSLhsl(61, 64%, 29%)
HSVhsv(61, 78%, 47%)
CMYKcmyk(0.8%, 0%, 77.7%, 52.5%)
CIE-LABlab(49.19, -12.10, 47.71)
CIE-LCHlch(49.19, 49.22, 104.23°)
OKLaboklab(55.78% -0.0384 0.1047)
OKLCHoklch(55.78% 0.111 110.2)
XYZxyz(14.7815, 17.7474, 3.6836)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78791B #1C1B79
analogous
#794B1B #78791B #49791B
triadic
#78791B #1B7879 #791B78
tetradic
#78791B #1B794B #1C1B79 #791B49
square
#78791B #1B794B #1C1B79 #791B49
split-complementary
#78791B #1B4979 #4B1B79
monochromatic
#191906 #464710 #78791B #AAAB26 #D2D33B

Accessibility & contrast

On white

4.62
#78791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#78791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #78791B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78791B#FFFFFF#000000##FFFFFF
##78791B1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837305
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#817167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #78791b;
/* rgb */ color: rgb(120, 121, 27);
/* oklch */ color: oklch(55.8% 0.111 110.2);
Tailwind
colors: {
  custom: {
    50: '#a29f60',
    500: '#78791b',
    950: '#000000',
  },
}
SCSS
$custom: #78791b;
$custom-light: #a29f60;
$custom-dark: #000000;
JSON
{
  "hex": "#78791b",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 60.638,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55782,
    "c": 0.11149,
    "h": 110.2
  },
  "luminance": 0.17747
}

Semantic roles & 50–950 ramp

primary
#78791B
secondary
#4443AD
accent
#41E743
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78791B

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

Preview Lab → · Contrast checker → · Palette generator →

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