#778E1C#778E1C

#778E1C is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.8% C 0.136 H 121.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#778E1C
RGBrgb(119, 142, 28)
HSLhsl(72, 67%, 33%)
HSVhsv(72, 80%, 56%)
CMYKcmyk(16.2%, 0%, 80.3%, 44.3%)
CIE-LABlab(55.43, -23.50, 53.08)
CIE-LCHlch(55.43, 58.05, 113.88°)
OKLaboklab(60.78% -0.0698 0.1163)
OKLCHoklch(60.78% 0.136 121)
XYZxyz(17.4907, 23.3518, 4.6843)
Luminance0.2335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E1C #331C8E
analogous
#8E6C1C #778E1C #3E8E1C
triadic
#778E1C #1C778E #8E1C77
tetradic
#778E1C #1C8E6C #331C8E #8E1C3E
square
#778E1C #1C8E6C #331C8E #8E1C3E
split-complementary
#778E1C #1C3E8E #6C1C8E
monochromatic
#212808 #4C5B12 #778E1C #A2C126 #BEDB49

Accessibility & contrast

On white

3.70
#778E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#778E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E1C
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E1C#FFFFFF#000000##000000
##778E1C1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#7E8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e1c;
/* rgb */ color: rgb(119, 142, 28);
/* oklch */ color: oklch(60.8% 0.136 121.0);
Tailwind
colors: {
  custom: {
    50: '#a2af63',
    500: '#778e1c',
    950: '#000000',
  },
}
SCSS
$custom: #778e1c;
$custom-light: #a2af63;
$custom-dark: #000000;
JSON
{
  "hex": "#778e1c",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 72.105,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.1356,
    "h": 121
  },
  "luminance": 0.23352
}

Semantic roles & 50–950 ramp

primary
#778E1C
secondary
#6049BD
accent
#3EEA61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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