#778C1C#778C1C

#778C1C is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.3% C 0.133 H 120.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#778C1C
RGBrgb(119, 140, 28)
HSLhsl(71, 67%, 33%)
HSVhsv(71, 80%, 55%)
CMYKcmyk(15%, 0%, 80%, 45.1%)
CIE-LABlab(54.83, -22.50, 52.53)
CIE-LCHlch(54.83, 57.14, 113.18°)
OKLaboklab(60.29% -0.067 0.1151)
OKLCHoklch(60.29% 0.133 120.2)
XYZxyz(17.1958, 22.7620, 4.5860)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C1C #311C8C
analogous
#8C691C #778C1C #3F8C1C
triadic
#778C1C #1C778C #8C1C77
tetradic
#778C1C #1C8C69 #311C8C #8C1C3F
square
#778C1C #1C8C69 #311C8C #8C1C3F
split-complementary
#778C1C #1C3F8C #691C8C
monochromatic
#202608 #4C5912 #778C1C #A2BF26 #BFDA48

Accessibility & contrast

On white

3.78
#778C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#778C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C1C
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C1C#FFFFFF#000000##000000
##778C1C1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#938327
Tritanopia (blue-blind)
#7E8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c1c;
/* rgb */ color: rgb(119, 140, 28);
/* oklch */ color: oklch(60.3% 0.133 120.2);
Tailwind
colors: {
  custom: {
    50: '#a2ad63',
    500: '#778c1c',
    950: '#000000',
  },
}
SCSS
$custom: #778c1c;
$custom-light: #a2ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#778c1c",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 71.25,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60291,
    "c": 0.13318,
    "h": 120.2
  },
  "luminance": 0.22762
}

Semantic roles & 50–950 ramp

primary
#778C1C
secondary
#5D48BC
accent
#3EEA5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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