#778717#778717

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

Color values

HEX#778717
RGBrgb(119, 135, 23)
HSLhsl(69, 71%, 31%)
HSVhsv(69, 83%, 53%)
CMYKcmyk(11.9%, 0%, 83%, 47.1%)
CIE-LABlab(53.29, -20.15, 52.65)
CIE-LCHlch(53.29, 56.38, 110.94°)
OKLaboklab(59.05% -0.0609 0.1145)
OKLCHoklch(59.05% 0.13 118)
XYZxyz(16.4268, 21.3119, 4.0587)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778717 #271787
analogous
#875F17 #778717 #3F8717
triadic
#778717 #177787 #871777
tetradic
#778717 #17875F #271787 #87173F
square
#778717 #17875F #271787 #87173F
split-complementary
#778717 #173F87 #5F1787
monochromatic
#1B1E05 #49530E #778717 #A5BB20 #C6DE3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778717#FFFFFF#000000##000000
##7787171.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: #778717;
/* rgb */ color: rgb(119, 135, 23);
/* oklch */ color: oklch(59.0% 0.130 118.0);
Tailwind
colors: {
  custom: {
    50: '#a2a960',
    500: '#778717',
    950: '#000000',
  },
}
SCSS
$custom: #778717;
$custom-light: #a2a960;
$custom-dark: #000000;
JSON
{
  "hex": "#778717",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 23
  },
  "hsl": {
    "h": 68.571,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59045,
    "c": 0.1297,
    "h": 118
  },
  "luminance": 0.21312
}

Semantic roles & 50–950 ramp

primary
#778717
secondary
#513FBB
accent
#3AEE54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778717

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

Preview Lab → · Contrast checker → · Palette generator →

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