#787D62#787D62

#787D62 is a mid, muted yellow-green. Relative luminance 0.195; OKLCH L 57.8% C 0.040 H 116.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#787D62
RGBrgb(120, 125, 98)
HSLhsl(71, 12%, 44%)
HSVhsv(71, 22%, 49%)
CMYKcmyk(4%, 0%, 21.6%, 51%)
CIE-LABlab(51.32, -6.88, 14.13)
CIE-LCHlch(51.32, 15.72, 115.97°)
OKLaboklab(57.78% -0.0177 0.0361)
OKLCHoklch(57.78% 0.04 116.2)
XYZxyz(17.2838, 19.5422, 14.4144)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D62 #67627D
analogous
#7D7462 #787D62 #6A7D62
triadic
#787D62 #62787D #7D6278
tetradic
#787D62 #627D74 #67627D #7D626A
square
#787D62 #627D74 #67627D #7D626A
split-complementary
#787D62 #626A7D #74627D
monochromatic
#36382C #575B47 #787D62 #979C80 #B3B7A3

Accessibility & contrast

On white

4.28
#787D62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#787D62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D62
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D62#FFFFFF#000000##000000
##787D621.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#817A60
Deuteranopia (green-blind)
#807A63
Tritanopia (blue-blind)
#7B7A76
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787d62;
/* rgb */ color: rgb(120, 125, 98);
/* oklch */ color: oklch(57.8% 0.040 116.2);
Tailwind
colors: {
  custom: {
    50: '#9fa28e',
    500: '#787d62',
    950: '#000000',
  },
}
SCSS
$custom: #787d62;
$custom-light: #9fa28e;
$custom-dark: #000000;
JSON
{
  "hex": "#787d62",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 98
  },
  "hsl": {
    "h": 71.111,
    "s": 12.108,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57784,
    "c": 0.04019,
    "h": 116.2
  },
  "luminance": 0.19542
}

Semantic roles & 50–950 ramp

primary
#787D62
secondary
#9895A6
accent
#73B57F
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0C
muted
#7E7E7D

Preview Lab

Preview with #787D62

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

Preview Lab → · Contrast checker → · Palette generator →

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