#778718#778718

#778718 is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.1% C 0.129 H 118.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#778718
RGBrgb(119, 135, 24)
HSLhsl(69, 70%, 31%)
HSVhsv(69, 82%, 53%)
CMYKcmyk(11.9%, 0%, 82.2%, 47.1%)
CIE-LABlab(53.29, -20.11, 52.37)
CIE-LCHlch(53.29, 56.10, 111.01°)
OKLaboklab(59.05% -0.0608 0.1141)
OKLCHoklch(59.05% 0.129 118)
XYZxyz(16.4370, 21.3160, 4.1125)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778718 #281887
analogous
#875F18 #778718 #3F8718
triadic
#778718 #187787 #871877
tetradic
#778718 #18875F #281887 #87183F
square
#778718 #18875F #281887 #87183F
split-complementary
#778718 #183F87 #5F1887
monochromatic
#1B1F06 #49530F #778718 #A5BB21 #C5DC3D

Accessibility & contrast

On white

3.99
#778718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#778718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778718
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778718#FFFFFF#000000##000000
##7787181.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#7F7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #778718;
/* rgb */ color: rgb(119, 135, 24);
/* oklch */ color: oklch(59.1% 0.129 118.0);
Tailwind
colors: {
  custom: {
    50: '#a2a960',
    500: '#778718',
    950: '#000000',
  },
}
SCSS
$custom: #778718;
$custom-light: #a2a960;
$custom-dark: #000000;
JSON
{
  "hex": "#778718",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 68.649,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5905,
    "c": 0.12923,
    "h": 118
  },
  "luminance": 0.21316
}

Semantic roles & 50–950 ramp

primary
#778718
secondary
#5240BB
accent
#3BED55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778718

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

Preview Lab → · Contrast checker → · Palette generator →

#778718 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva