#778B1C#778B1C

#778B1C is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.0% C 0.132 H 119.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#778B1C
RGBrgb(119, 139, 28)
HSLhsl(71, 66%, 33%)
HSVhsv(71, 80%, 55%)
CMYKcmyk(14.4%, 0%, 79.9%, 45.5%)
CIE-LABlab(54.52, -21.99, 52.25)
CIE-LCHlch(54.52, 56.69, 112.82°)
OKLaboklab(60.05% -0.0656 0.1145)
OKLCHoklch(60.05% 0.132 119.8)
XYZxyz(17.0503, 22.4711, 4.5375)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B1C #301C8B
analogous
#8B681C #778B1C #3F8B1C
triadic
#778B1C #1C778B #8B1C77
tetradic
#778B1C #1C8B68 #301C8B #8B1C3F
square
#778B1C #1C8B68 #301C8B #8B1C3F
split-complementary
#778B1C #1C3F8B #681C8B
monochromatic
#202507 #4B5812 #778B1C #A3BE26 #C0DA47

Accessibility & contrast

On white

3.82
#778B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#778B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B1C
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B1C#FFFFFF#000000##000000
##778B1C1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#7E8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778b1c;
/* rgb */ color: rgb(119, 139, 28);
/* oklch */ color: oklch(60.0% 0.132 119.8);
Tailwind
colors: {
  custom: {
    50: '#a2ac63',
    500: '#778b1c',
    950: '#000000',
  },
}
SCSS
$custom: #778b1c;
$custom-light: #a2ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#778b1c",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 70.811,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60046,
    "c": 0.13199,
    "h": 119.8
  },
  "luminance": 0.22471
}

Semantic roles & 50–950 ramp

primary
#778B1C
secondary
#5C47BC
accent
#3EE95D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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