#778C38#778C38

#778C38 is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.5% C 0.113 H 121.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#778C38
RGBrgb(119, 140, 56)
HSLhsl(75, 43%, 38%)
HSVhsv(75, 60%, 55%)
CMYKcmyk(15%, 0%, 60%, 45.1%)
CIE-LABlab(55.03, -20.66, 41.45)
CIE-LCHlch(55.03, 46.31, 116.49°)
OKLaboklab(60.53% -0.0592 0.0961)
OKLCHoklch(60.53% 0.113 121.6)
XYZxyz(17.6998, 22.9636, 7.2406)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C38 #4D388C
analogous
#8C7738 #778C38 #4D8C38
triadic
#778C38 #38778C #8C3877
tetradic
#778C38 #388C77 #4D388C #8C384D
square
#778C38 #388C77 #4D388C #8C384D
split-complementary
#778C38 #384D8C #77388C
monochromatic
#2D3515 #526027 #778C38 #9CB74A #B4C876

Accessibility & contrast

On white

3.75
#778C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#778C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C38
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C38#FFFFFF#000000##000000
##778C381.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842F
Deuteranopia (green-blind)
#91843D
Tritanopia (blue-blind)
#7D857A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778c38;
/* rgb */ color: rgb(119, 140, 56);
/* oklch */ color: oklch(60.5% 0.113 121.6);
Tailwind
colors: {
  custom: {
    50: '#a0ad72',
    500: '#778c38',
    950: '#000000',
  },
}
SCSS
$custom: #778c38;
$custom-light: #a0ad72;
$custom-dark: #000000;
JSON
{
  "hex": "#778c38",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 56
  },
  "hsl": {
    "h": 75,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60525,
    "c": 0.11291,
    "h": 121.6
  },
  "luminance": 0.22964
}

Semantic roles & 50–950 ramp

primary
#778C38
secondary
#7F6FB1
accent
#55D375
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #778C38

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

Preview Lab → · Contrast checker → · Palette generator →

#778C38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva