#778F18#778F18

#778F18 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 61.0% C 0.139 H 121.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#778F18
RGBrgb(119, 143, 24)
HSLhsl(72, 71%, 33%)
HSVhsv(72, 83%, 56%)
CMYKcmyk(16.8%, 0%, 83.2%, 43.9%)
CIE-LABlab(55.72, -24.17, 54.51)
CIE-LCHlch(55.72, 59.63, 113.91°)
OKLaboklab(61.01% -0.0719 0.1186)
OKLCHoklch(61.01% 0.139 121.2)
XYZxyz(17.5954, 23.6328, 4.4986)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F18 #30188F
analogous
#8F6B18 #778F18 #3B8F18
triadic
#778F18 #18778F #8F1877
tetradic
#778F18 #188F6B #30188F #8F183B
square
#778F18 #188F6B #30188F #8F183B
split-complementary
#778F18 #183B8F #6B188F
monochromatic
#202606 #4B5B0F #778F18 #A3C321 #C0DF42

Accessibility & contrast

On white

3.67
#778F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#778F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F18
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F18#FFFFFF#000000##000000
##778F181.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#958625
Tritanopia (blue-blind)
#7E877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778f18;
/* rgb */ color: rgb(119, 143, 24);
/* oklch */ color: oklch(61.0% 0.139 121.2);
Tailwind
colors: {
  custom: {
    50: '#a2af62',
    500: '#778f18',
    950: '#000000',
  },
}
SCSS
$custom: #778f18;
$custom-light: #a2af62;
$custom-dark: #000000;
JSON
{
  "hex": "#778f18",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 72.101,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61005,
    "c": 0.1387,
    "h": 121.2
  },
  "luminance": 0.23633
}

Semantic roles & 50–950 ramp

primary
#778F18
secondary
#5C43C0
accent
#3AEE5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778F18

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

Preview Lab → · Contrast checker → · Palette generator →

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