#787E62#787E62

#787E62 is a mid, muted yellow-green. Relative luminance 0.198; OKLCH L 58.0% C 0.042 H 117.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#787E62
RGBrgb(120, 126, 98)
HSLhsl(73, 13%, 44%)
HSVhsv(73, 22%, 49%)
CMYKcmyk(4.8%, 0%, 22.2%, 50.6%)
CIE-LABlab(51.61, -7.44, 14.53)
CIE-LCHlch(51.61, 16.33, 117.12°)
OKLaboklab(58.02% -0.0193 0.037)
OKLCHoklch(58.02% 0.042 117.5)
XYZxyz(17.4110, 19.7967, 14.4568)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E62 #68627E
analogous
#7E7662 #787E62 #6A7E62
triadic
#787E62 #62787E #7E6278
tetradic
#787E62 #627E76 #68627E #7E626A
square
#787E62 #627E76 #68627E #7E626A
split-complementary
#787E62 #626A7E #76627E
monochromatic
#36392C #575C47 #787E62 #979D81 #B3B7A3

Accessibility & contrast

On white

4.23
#787E62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#787E62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E62
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E62#FFFFFF#000000##000000
##787E621.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#827B60
Deuteranopia (green-blind)
#817B63
Tritanopia (blue-blind)
#7B7B76
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #787e62;
/* rgb */ color: rgb(120, 126, 98);
/* oklch */ color: oklch(58.0% 0.042 117.5);
Tailwind
colors: {
  custom: {
    50: '#9fa38e',
    500: '#787e62',
    950: '#000000',
  },
}
SCSS
$custom: #787e62;
$custom-light: #9fa38e;
$custom-dark: #000000;
JSON
{
  "hex": "#787e62",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 98
  },
  "hsl": {
    "h": 72.857,
    "s": 12.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.04178,
    "h": 117.5
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

primary
#787E62
secondary
#9995A6
accent
#72B581
background
#F9FAF8
surface
#F2F3F0
border
#CCCDCB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #787E62

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

Preview Lab → · Contrast checker → · Palette generator →

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