#778817#778817

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

Color values

HEX#778817
RGBrgb(119, 136, 23)
HSLhsl(69, 71%, 31%)
HSVhsv(69, 83%, 53%)
CMYKcmyk(12.5%, 0%, 83.1%, 46.7%)
CIE-LABlab(53.59, -20.66, 52.92)
CIE-LCHlch(53.59, 56.81, 111.33°)
OKLaboklab(59.29% -0.0623 0.1151)
OKLCHoklch(59.29% 0.131 118.5)
XYZxyz(16.5670, 21.5923, 4.1054)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778817 #281788
analogous
#886017 #778817 #3E8817
triadic
#778817 #177788 #881777
tetradic
#778817 #178860 #281788 #88173E
square
#778817 #178860 #281788 #88173E
split-complementary
#778817 #173E88 #601788
monochromatic
#1B1F05 #49540E #778817 #A5BC20 #C5DE3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778817#FFFFFF#000000##000000
##7788171.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)
#908023
Tritanopia (blue-blind)
#7F8074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #778817;
/* rgb */ color: rgb(119, 136, 23);
/* oklch */ color: oklch(59.3% 0.131 118.5);
Tailwind
colors: {
  custom: {
    50: '#a2aa60',
    500: '#778817',
    950: '#000000',
  },
}
SCSS
$custom: #778817;
$custom-light: #a2aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#778817",
  "rgb": {
    "r": 119,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 69.027,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59288,
    "c": 0.13087,
    "h": 118.5
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#778817
secondary
#523FBC
accent
#3AEE55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778817

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

Preview Lab → · Contrast checker → · Palette generator →

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