#787950#787950

#787950 is a mid, muted yellow. Relative luminance 0.182; OKLCH L 56.5% C 0.059 H 109.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#787950
RGBrgb(120, 121, 80)
HSLhsl(61, 20%, 39%)
HSVhsv(61, 34%, 47%)
CMYKcmyk(0.8%, 0%, 33.9%, 52.5%)
CIE-LABlab(49.79, -7.34, 22.41)
CIE-LCHlch(49.79, 23.58, 108.14°)
OKLaboklab(56.46% -0.0195 0.0556)
OKLCHoklch(56.46% 0.059 109.3)
XYZxyz(16.0312, 18.2473, 10.2654)
Luminance0.1825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787950 #515079
analogous
#796650 #787950 #647950
triadic
#787950 #507879 #795078
tetradic
#787950 #507966 #515079 #795064
square
#787950 #507966 #515079 #795064
split-complementary
#787950 #506479 #665079
monochromatic
#2F2F1F #535438 #787950 #9B9C6A #B4B58F

Accessibility & contrast

On white

4.52
#787950 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#787950 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787950
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787950#FFFFFF#000000##000000
##7879501.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F764D
Deuteranopia (green-blind)
#807752
Tritanopia (blue-blind)
#7D746F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #787950;
/* rgb */ color: rgb(120, 121, 80);
/* oklch */ color: oklch(56.5% 0.059 109.3);
Tailwind
colors: {
  custom: {
    50: '#9f9f81',
    500: '#787950',
    950: '#000000',
  },
}
SCSS
$custom: #787950;
$custom-light: #9f9f81;
$custom-dark: #000000;
JSON
{
  "hex": "#787950",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 80
  },
  "hsl": {
    "h": 61.463,
    "s": 20.398,
    "l": 39.412
  },
  "oklch": {
    "l": 0.56461,
    "c": 0.05889,
    "h": 109.3
  },
  "luminance": 0.18247
}

Semantic roles & 50–950 ramp

primary
#787950
secondary
#8483A2
accent
#6BBD6D
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0E0A
muted
#7E7E7C

Preview Lab

Preview with #787950

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

Preview Lab → · Contrast checker → · Palette generator →

#787950 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva