#778E38#778E38

#778E38 is a mid, moderate yellow-green. Relative luminance 0.236; OKLCH L 61.0% C 0.116 H 122.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#778E38
RGBrgb(119, 142, 56)
HSLhsl(76, 43%, 39%)
HSVhsv(76, 61%, 56%)
CMYKcmyk(16.2%, 0%, 60.6%, 44.3%)
CIE-LABlab(55.64, -21.68, 42.12)
CIE-LCHlch(55.64, 47.37, 117.24°)
OKLaboklab(61.01% -0.0621 0.0976)
OKLCHoklch(61.01% 0.116 122.5)
XYZxyz(17.9947, 23.5534, 7.3389)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E38 #4F388E
analogous
#8E7A38 #778E38 #4C8E38
triadic
#778E38 #38778E #8E3877
tetradic
#778E38 #388E7A #4F388E #8E384C
square
#778E38 #388E7A #4F388E #8E384C
split-complementary
#778E38 #384C8E #7A388E
monochromatic
#2D3615 #526227 #778E38 #9BB84B #B3C977

Accessibility & contrast

On white

3.68
#778E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#778E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E38
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E38#FFFFFF#000000##000000
##778E381.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96862F
Deuteranopia (green-blind)
#93853E
Tritanopia (blue-blind)
#7D877C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e38;
/* rgb */ color: rgb(119, 142, 56);
/* oklch */ color: oklch(61.0% 0.116 122.5);
Tailwind
colors: {
  custom: {
    50: '#a0af72',
    500: '#778e38',
    950: '#000000',
  },
}
SCSS
$custom: #778e38;
$custom-light: #a0af72;
$custom-dark: #000000;
JSON
{
  "hex": "#778e38",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 56
  },
  "hsl": {
    "h": 76.047,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61011,
    "c": 0.11564,
    "h": 122.5
  },
  "luminance": 0.23553
}

Semantic roles & 50–950 ramp

primary
#778E38
secondary
#816FB2
accent
#55D376
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #778E38

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

Preview Lab → · Contrast checker → · Palette generator →

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