#778140#778140

#778140 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.0% C 0.090 H 116.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#778140
RGBrgb(119, 129, 64)
HSLhsl(69, 34%, 38%)
HSVhsv(69, 50%, 51%)
CMYKcmyk(7.8%, 0%, 50.4%, 49.4%)
CIE-LABlab(51.83, -14.10, 33.72)
CIE-LCHlch(51.83, 36.55, 112.69°)
OKLaboklab(57.98% -0.04 0.0803)
OKLCHoklch(57.98% 0.09 116.5)
XYZxyz(16.3836, 19.9928, 7.8454)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778140 #4A4081
analogous
#816A40 #778140 #568140
triadic
#778140 #407781 #814077
tetradic
#778140 #40816A #4A4081 #814056
square
#778140 #40816A #4A4081 #814056
split-complementary
#778140 #405681 #6A4081
monochromatic
#2C2F17 #51582C #778140 #9DAA54 #B4BE7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778140#FFFFFF#000000##000000
##7781401.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)
#897B3A
Deuteranopia (green-blind)
#887C43
Tritanopia (blue-blind)
#7D7B72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778140;
/* rgb */ color: rgb(119, 129, 64);
/* oklch */ color: oklch(58.0% 0.090 116.5);
Tailwind
colors: {
  custom: {
    50: '#a0a576',
    500: '#778140',
    950: '#000000',
  },
}
SCSS
$custom: #778140;
$custom-light: #a0a576;
$custom-dark: #000000;
JSON
{
  "hex": "#778140",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 69.231,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57983,
    "c": 0.08966,
    "h": 116.5
  },
  "luminance": 0.19993
}

Semantic roles & 50–950 ramp

primary
#778140
secondary
#7C74A9
accent
#5ECA6F
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0F0F09
muted
#7E7F7B

Preview Lab

Preview with #778140

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

Preview Lab → · Contrast checker → · Palette generator →

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