#787E50#787E50

#787E50 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.066 H 114.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#787E50
RGBrgb(120, 126, 80)
HSLhsl(68, 22%, 40%)
HSVhsv(68, 37%, 49%)
CMYKcmyk(4.8%, 0%, 36.5%, 50.6%)
CIE-LABlab(51.26, -10.12, 24.33)
CIE-LCHlch(51.26, 26.35, 112.59°)
OKLaboklab(57.63% -0.0274 0.06)
OKLCHoklch(57.63% 0.066 114.6)
XYZxyz(16.6546, 19.4941, 10.4732)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E50 #56507E
analogous
#7E6D50 #787E50 #617E50
triadic
#787E50 #50787E #7E5078
tetradic
#787E50 #507E6D #56507E #7E5061
square
#787E50 #507E6D #56507E #7E5061
split-complementary
#787E50 #50617E #6D507E
monochromatic
#313320 #545938 #787E50 #9AA16A #B3B890

Accessibility & contrast

On white

4.29
#787E50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#787E50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E50
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E50#FFFFFF#000000##000000
##787E501.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A4D
Deuteranopia (green-blind)
#847B52
Tritanopia (blue-blind)
#7D7972
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787e50;
/* rgb */ color: rgb(120, 126, 80);
/* oklch */ color: oklch(57.6% 0.066 114.6);
Tailwind
colors: {
  custom: {
    50: '#9fa381',
    500: '#787e50',
    950: '#000000',
  },
}
SCSS
$custom: #787e50;
$custom-light: #9fa381;
$custom-dark: #000000;
JSON
{
  "hex": "#787e50",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 80
  },
  "hsl": {
    "h": 67.826,
    "s": 22.33,
    "l": 40.392
  },
  "oklch": {
    "l": 0.57626,
    "c": 0.066,
    "h": 114.6
  },
  "luminance": 0.19494
}

Semantic roles & 50–950 ramp

primary
#787E50
secondary
#8984A5
accent
#69BF74
background
#F9FAF7
surface
#F2F3EE
border
#CCCDC9
text
#0E0F0A
muted
#7E7F7C

Preview Lab

Preview with #787E50

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

Preview Lab → · Contrast checker → · Palette generator →

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