#787D4B#787D4B

#787D4B is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.071 H 113.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#787D4B
RGBrgb(120, 125, 75)
HSLhsl(66, 25%, 39%)
HSVhsv(66, 40%, 49%)
CMYKcmyk(4%, 0%, 40%, 51%)
CIE-LABlab(50.88, -10.22, 26.63)
CIE-LCHlch(50.88, 28.52, 110.99°)
OKLaboklab(57.3% -0.028 0.0651)
OKLCHoklch(57.3% 0.071 113.3)
XYZxyz(16.3495, 19.1685, 9.4939)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D4B #504B7D
analogous
#7D694B #787D4B #5F7D4B
triadic
#787D4B #4B787D #7D4B78
tetradic
#787D4B #4B7D69 #504B7D #7D4B5F
square
#787D4B #4B7D69 #504B7D #7D4B5F
split-complementary
#787D4B #4B5F7D #694B7D
monochromatic
#2F311D #535734 #787D4B #9BA264 #B4B98A

Accessibility & contrast

On white

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

On black

4.83
#787D4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D4B
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D4B#FFFFFF#000000##000000
##787D4B1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847947
Deuteranopia (green-blind)
#847A4D
Tritanopia (blue-blind)
#7E7871
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787d4b;
/* rgb */ color: rgb(120, 125, 75);
/* oklch */ color: oklch(57.3% 0.071 113.3);
Tailwind
colors: {
  custom: {
    50: '#a0a27e',
    500: '#787d4b',
    950: '#000000',
  },
}
SCSS
$custom: #787d4b;
$custom-light: #a0a27e;
$custom-dark: #000000;
JSON
{
  "hex": "#787d4b",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 75
  },
  "hsl": {
    "h": 66,
    "s": 25,
    "l": 39.216
  },
  "oklch": {
    "l": 0.573,
    "c": 0.07088,
    "h": 113.3
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#787D4B
secondary
#837FA5
accent
#66C16F
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0F0A
muted
#7E7E7C

Preview Lab

Preview with #787D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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