#778158#778158

#778158 is a mid, moderate yellow-green. Relative luminance 0.203; OKLCH L 58.4% C 0.060 H 119.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#778158
RGBrgb(119, 129, 88)
HSLhsl(75, 19%, 43%)
HSVhsv(75, 32%, 51%)
CMYKcmyk(7.8%, 0%, 31.8%, 49.4%)
CIE-LABlab(52.20, -11.07, 21.05)
CIE-LCHlch(52.20, 23.78, 117.73°)
OKLaboklab(58.4% -0.0297 0.0526)
OKLCHoklch(58.4% 0.06 119.4)
XYZxyz(17.2194, 20.3271, 12.2470)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778158 #625881
analogous
#817658 #778158 #638158
triadic
#778158 #587781 #815877
tetradic
#778158 #588176 #625881 #815863
square
#778158 #588176 #625881 #815863
split-complementary
#778158 #586381 #765881
monochromatic
#343826 #555D3F #778158 #96A175 #B2BA9A

Accessibility & contrast

On white

4.15
#778158 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#778158 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778158
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778158#FFFFFF#000000##000000
##7781581.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D55
Deuteranopia (green-blind)
#857D5A
Tritanopia (blue-blind)
#7B7D76
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778158;
/* rgb */ color: rgb(119, 129, 88);
/* oklch */ color: oklch(58.4% 0.060 119.4);
Tailwind
colors: {
  custom: {
    50: '#9ea587',
    500: '#778158',
    950: '#000000',
  },
}
SCSS
$custom: #778158;
$custom-light: #9ea587;
$custom-dark: #000000;
JSON
{
  "hex": "#778158",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 88
  },
  "hsl": {
    "h": 74.634,
    "s": 18.894,
    "l": 42.549
  },
  "oklch": {
    "l": 0.58405,
    "c": 0.06041,
    "h": 119.4
  },
  "luminance": 0.20327
}

Semantic roles & 50–950 ramp

primary
#778158
secondary
#948DA8
accent
#6CBC80
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0E0F0B
muted
#7E7F7C

Preview Lab

Preview with #778158

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

Preview Lab → · Contrast checker → · Palette generator →

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