#788050#788050

#788050 is a mid, moderate yellow-green. Relative luminance 0.200; OKLCH L 58.1% C 0.069 H 116.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#788050
RGBrgb(120, 128, 80)
HSLhsl(70, 23%, 41%)
HSVhsv(70, 38%, 50%)
CMYKcmyk(6.3%, 0%, 37.5%, 49.8%)
CIE-LABlab(51.85, -11.22, 25.09)
CIE-LCHlch(51.85, 27.49, 114.10°)
OKLaboklab(58.1% -0.0306 0.0618)
OKLCHoklch(58.1% 0.069 116.3)
XYZxyz(16.9129, 20.0107, 10.5593)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788050 #585080
analogous
#807050 #788050 #608050
triadic
#788050 #507880 #805078
tetradic
#788050 #508070 #585080 #805060
square
#788050 #508070 #585080 #805060
split-complementary
#788050 #506080 #705080
monochromatic
#313521 #555A38 #788050 #99A26B #B3BA90

Accessibility & contrast

On white

4.20
#788050 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#788050 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788050
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788050#FFFFFF#000000##000000
##7880501.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4D
Deuteranopia (green-blind)
#867C52
Tritanopia (blue-blind)
#7D7B74
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #788050;
/* rgb */ color: rgb(120, 128, 80);
/* oklch */ color: oklch(58.1% 0.069 116.3);
Tailwind
colors: {
  custom: {
    50: '#9fa481',
    500: '#788050',
    950: '#000000',
  },
}
SCSS
$custom: #788050;
$custom-light: #9fa481;
$custom-dark: #000000;
JSON
{
  "hex": "#788050",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 80
  },
  "hsl": {
    "h": 70,
    "s": 23.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58096,
    "c": 0.06894,
    "h": 116.3
  },
  "luminance": 0.20011
}

Semantic roles & 50–950 ramp

primary
#788050
secondary
#8B85A7
accent
#68C077
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0E0F0A
muted
#7E7F7C

Preview Lab

Preview with #788050

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

Preview Lab → · Contrast checker → · Palette generator →

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