#778818#778818

#778818 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.3% C 0.130 H 118.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#778818
RGBrgb(119, 136, 24)
HSLhsl(69, 70%, 31%)
HSVhsv(69, 82%, 53%)
CMYKcmyk(12.5%, 0%, 82.4%, 46.7%)
CIE-LABlab(53.60, -20.63, 52.64)
CIE-LCHlch(53.60, 56.53, 111.40°)
OKLaboklab(59.29% -0.0622 0.1146)
OKLCHoklch(59.29% 0.13 118.5)
XYZxyz(16.5772, 21.5964, 4.1592)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778818 #291888
analogous
#886118 #778818 #3F8818
triadic
#778818 #187788 #881877
tetradic
#778818 #188861 #291888 #88183F
square
#778818 #188861 #291888 #88183F
split-complementary
#778818 #183F88 #611888
monochromatic
#1C2006 #49540F #778818 #A5BC21 #C5DD3E

Accessibility & contrast

On white

3.95
#778818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#778818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778818
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778818#FFFFFF#000000##000000
##7788181.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#908024
Tritanopia (blue-blind)
#7F8074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #778818;
/* rgb */ color: rgb(119, 136, 24);
/* oklch */ color: oklch(59.3% 0.130 118.5);
Tailwind
colors: {
  custom: {
    50: '#a2aa61',
    500: '#778818',
    950: '#000000',
  },
}
SCSS
$custom: #778818;
$custom-light: #a2aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#778818",
  "rgb": {
    "r": 119,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 69.107,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59293,
    "c": 0.1304,
    "h": 118.5
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#778818
secondary
#5340BC
accent
#3BED56
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778818

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

Preview Lab → · Contrast checker → · Palette generator →

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