#778617#778617

#778617 is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.8% C 0.129 H 117.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#778617
RGBrgb(119, 134, 23)
HSLhsl(68, 71%, 31%)
HSVhsv(68, 83%, 53%)
CMYKcmyk(11.2%, 0%, 82.8%, 47.5%)
CIE-LABlab(52.99, -19.63, 52.39)
CIE-LCHlch(52.99, 55.95, 110.55°)
OKLaboklab(58.8% -0.0595 0.1139)
OKLCHoklch(58.8% 0.129 117.6)
XYZxyz(16.2879, 21.0342, 4.0124)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778617 #261786
analogous
#865D17 #778617 #3F8617
triadic
#778617 #177786 #861777
tetradic
#778617 #17865D #261786 #86173F
square
#778617 #17865D #261786 #86173F
split-complementary
#778617 #173F86 #5D1786
monochromatic
#1A1E05 #49520E #778617 #A5BA20 #C7DD3A

Accessibility & contrast

On white

4.03
#778617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#778617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778617
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778617#FFFFFF#000000##000000
##7786171.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#7F7E72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #778617;
/* rgb */ color: rgb(119, 134, 23);
/* oklch */ color: oklch(58.8% 0.129 117.6);
Tailwind
colors: {
  custom: {
    50: '#a2a960',
    500: '#778617',
    950: '#000000',
  },
}
SCSS
$custom: #778617;
$custom-light: #a2a960;
$custom-dark: #000000;
JSON
{
  "hex": "#778617",
  "rgb": {
    "r": 119,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 68.108,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58802,
    "c": 0.12853,
    "h": 117.6
  },
  "luminance": 0.21034
}

Semantic roles & 50–950 ramp

primary
#778617
secondary
#4F3FBA
accent
#3AED53
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778617

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

Preview Lab → · Contrast checker → · Palette generator →

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