#787D4E#787D4E

#787D4E is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.067 H 113.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#787D4E
RGBrgb(120, 125, 78)
HSLhsl(66, 23%, 40%)
HSVhsv(66, 38%, 49%)
CMYKcmyk(4%, 0%, 37.6%, 51%)
CIE-LABlab(50.93, -9.84, 25.02)
CIE-LCHlch(50.93, 26.89, 111.46°)
OKLaboklab(57.36% -0.0267 0.0616)
OKLCHoklch(57.36% 0.067 113.5)
XYZxyz(16.4546, 19.2106, 10.0474)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D4E #534E7D
analogous
#7D6B4E #787D4E #617D4E
triadic
#787D4E #4E787D #7D4E78
tetradic
#787D4E #4E7D6B #534E7D #7D4E61
square
#787D4E #4E7D6B #534E7D #7D4E61
split-complementary
#787D4E #4E617D #6B4E7D
monochromatic
#30321F #545736 #787D4E #9BA168 #B4B88D

Accessibility & contrast

On white

4.34
#787D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#787D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D4E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D4E#FFFFFF#000000##000000
##787D4E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84794B
Deuteranopia (green-blind)
#837A50
Tritanopia (blue-blind)
#7D7871
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787d4e;
/* rgb */ color: rgb(120, 125, 78);
/* oklch */ color: oklch(57.4% 0.067 113.5);
Tailwind
colors: {
  custom: {
    50: '#a0a280',
    500: '#787d4e',
    950: '#000000',
  },
}
SCSS
$custom: #787d4e;
$custom-light: #a0a280;
$custom-dark: #000000;
JSON
{
  "hex": "#787d4e",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 66.383,
    "s": 23.153,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57355,
    "c": 0.06711,
    "h": 113.5
  },
  "luminance": 0.1921
}

Semantic roles & 50–950 ramp

primary
#787D4E
secondary
#8682A5
accent
#68C071
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0F0A
muted
#7E7E7C

Preview Lab

Preview with #787D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#787D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva