#78792B#78792B

#78792B is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.9% C 0.100 H 109.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#78792B
RGBrgb(120, 121, 43)
HSLhsl(61, 48%, 32%)
HSVhsv(61, 64%, 47%)
CMYKcmyk(0.8%, 0%, 64.5%, 52.5%)
CIE-LABlab(49.30, -11.17, 41.27)
CIE-LCHlch(49.30, 42.76, 105.14°)
OKLaboklab(55.91% -0.0341 0.094)
OKLCHoklch(55.91% 0.1 109.9)
XYZxyz(15.0196, 17.8426, 4.9378)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78792B #2C2B79
analogous
#79532B #78792B #51792B
triadic
#78792B #2B7879 #792B78
tetradic
#78792B #2B7953 #2C2B79 #792B51
square
#78792B #2B7953 #2C2B79 #792B51
split-complementary
#78792B #2B5179 #532B79
monochromatic
#1E1F0B #4B4C1B #78792B #A5A63B #C3C45A

Accessibility & contrast

On white

4.60
#78792B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#78792B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #78792B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78792B#FFFFFF#000000##FFFFFF
##78792B1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827421
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#807269
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #78792b;
/* rgb */ color: rgb(120, 121, 43);
/* oklch */ color: oklch(55.9% 0.100 109.9);
Tailwind
colors: {
  custom: {
    50: '#a19f68',
    500: '#78792b',
    950: '#000000',
  },
}
SCSS
$custom: #78792b;
$custom-light: #a19f68;
$custom-dark: #000000;
JSON
{
  "hex": "#78792b",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 60.769,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.09994,
    "h": 109.9
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#78792B
secondary
#5756AA
accent
#51D752
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #78792B

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

Preview Lab → · Contrast checker → · Palette generator →

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