#778151#778151

#778151 is a mid, moderate yellow-green. Relative luminance 0.202; OKLCH L 58.3% C 0.069 H 118.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#778151
RGBrgb(119, 129, 81)
HSLhsl(73, 23%, 41%)
HSVhsv(73, 37%, 51%)
CMYKcmyk(7.8%, 0%, 37.2%, 49.4%)
CIE-LABlab(52.08, -12.05, 24.82)
CIE-LCHlch(52.08, 27.59, 115.90°)
OKLaboklab(58.27% -0.0328 0.0612)
OKLCHoklch(58.27% 0.069 118.2)
XYZxyz(16.9432, 20.2166, 10.7926)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778151 #5B5181
analogous
#817351 #778151 #5F8151
triadic
#778151 #517781 #815177
tetradic
#778151 #518173 #5B5181 #81515F
square
#778151 #518173 #5B5181 #81515F
split-complementary
#778151 #515F81 #735181
monochromatic
#323622 #545B39 #778151 #98A36C #B2BA92

Accessibility & contrast

On white

4.16
#778151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#778151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778151
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778151#FFFFFF#000000##000000
##7781511.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4E
Deuteranopia (green-blind)
#867C53
Tritanopia (blue-blind)
#7C7C75
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778151;
/* rgb */ color: rgb(119, 129, 81);
/* oklch */ color: oklch(58.3% 0.069 118.2);
Tailwind
colors: {
  custom: {
    50: '#9fa582',
    500: '#778151',
    950: '#000000',
  },
}
SCSS
$custom: #778151;
$custom-light: #9fa582;
$custom-dark: #000000;
JSON
{
  "hex": "#778151",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 72.5,
    "s": 22.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58266,
    "c": 0.06945,
    "h": 118.2
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#778151
secondary
#8D86A8
accent
#68BF7B
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0E0F0A
muted
#7E7F7C

Preview Lab

Preview with #778151

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

Preview Lab → · Contrast checker → · Palette generator →

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