#778C2C#778C2C

#778C2C is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.4% C 0.123 H 120.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#778C2C
RGBrgb(119, 140, 44)
HSLhsl(73, 52%, 36%)
HSVhsv(73, 69%, 55%)
CMYKcmyk(15%, 0%, 68.6%, 45.1%)
CIE-LABlab(54.93, -21.60, 46.71)
CIE-LCHlch(54.93, 51.46, 114.81°)
OKLaboklab(60.41% -0.0631 0.1056)
OKLCHoklch(60.41% 0.123 120.8)
XYZxyz(17.4407, 22.8600, 5.8760)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C2C #412C8C
analogous
#8C712C #778C2C #478C2C
triadic
#778C2C #2C778C #8C2C77
tetradic
#778C2C #2C8C71 #412C8C #8C2C47
square
#778C2C #2C8C71 #412C8C #8C2C47
split-complementary
#778C2C #2C478C #712C8C
monochromatic
#282F0F #4F5D1D #778C2C #9FBB3B #B7CE64

Accessibility & contrast

On white

3.77
#778C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#778C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C2C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C2C#FFFFFF#000000##000000
##778C2C1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841E
Deuteranopia (green-blind)
#928433
Tritanopia (blue-blind)
#7E8579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c2c;
/* rgb */ color: rgb(119, 140, 44);
/* oklch */ color: oklch(60.4% 0.123 120.8);
Tailwind
colors: {
  custom: {
    50: '#a1ad6b',
    500: '#778c2c',
    950: '#000000',
  },
}
SCSS
$custom: #778c2c;
$custom-light: #a1ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#778c2c",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 73.125,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60405,
    "c": 0.123,
    "h": 120.8
  },
  "luminance": 0.2286
}

Semantic roles & 50–950 ramp

primary
#778C2C
secondary
#725FB5
accent
#4CDC6C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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