#778F2C#778F2C

#778F2C is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.127 H 122.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#778F2C
RGBrgb(119, 143, 44)
HSLhsl(75, 53%, 37%)
HSVhsv(75, 69%, 56%)
CMYKcmyk(16.8%, 0%, 69.2%, 43.9%)
CIE-LABlab(55.84, -23.12, 47.64)
CIE-LCHlch(55.84, 52.96, 115.88°)
OKLaboklab(61.14% -0.0673 0.1076)
OKLCHoklch(61.14% 0.127 122)
XYZxyz(17.8851, 23.7487, 6.0241)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F2C #442C8F
analogous
#8F762C #778F2C #468F2C
triadic
#778F2C #2C778F #8F2C77
tetradic
#778F2C #2C8F76 #442C8F #8F2C46
square
#778F2C #2C8F76 #442C8F #8F2C46
split-complementary
#778F2C #2C468F #762C8F
monochromatic
#29310F #50601E #778F2C #9EBE3A #B6D066

Accessibility & contrast

On white

3.65
#778F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#778F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F2C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F2C#FFFFFF#000000##000000
##778F2C1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861D
Deuteranopia (green-blind)
#958634
Tritanopia (blue-blind)
#7D887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f2c;
/* rgb */ color: rgb(119, 143, 44);
/* oklch */ color: oklch(61.1% 0.127 122.0);
Tailwind
colors: {
  custom: {
    50: '#a1af6b',
    500: '#778f2c',
    950: '#000000',
  },
}
SCSS
$custom: #778f2c;
$custom-light: #a1af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#778f2c",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 74.545,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61136,
    "c": 0.12686,
    "h": 122
  },
  "luminance": 0.23749
}

Semantic roles & 50–950 ramp

primary
#778F2C
secondary
#7561B6
accent
#4BDC6F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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