#778517#778517

#778517 is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.6% C 0.127 H 117.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#778517
RGBrgb(119, 133, 23)
HSLhsl(68, 71%, 31%)
HSVhsv(68, 83%, 52%)
CMYKcmyk(10.5%, 0%, 82.7%, 47.8%)
CIE-LABlab(52.68, -19.12, 52.12)
CIE-LCHlch(52.68, 55.52, 110.14°)
OKLaboklab(58.56% -0.0581 0.1134)
OKLCHoklch(58.56% 0.127 117.1)
XYZxyz(16.1504, 20.7591, 3.9665)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778517 #251785
analogous
#855C17 #778517 #408517
triadic
#778517 #177785 #851777
tetradic
#778517 #17855C #251785 #851740
square
#778517 #17855C #251785 #851740
split-complementary
#778517 #174085 #5C1785
monochromatic
#1A1D05 #48510E #778517 #A6B920 #C8DD3A

Accessibility & contrast

On white

4.08
#778517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#778517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778517
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778517#FFFFFF#000000##000000
##7785171.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#7F7D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #778517;
/* rgb */ color: rgb(119, 133, 23);
/* oklch */ color: oklch(58.6% 0.127 117.1);
Tailwind
colors: {
  custom: {
    50: '#a2a860',
    500: '#778517',
    950: '#000000',
  },
}
SCSS
$custom: #778517;
$custom-light: #a2a860;
$custom-dark: #000000;
JSON
{
  "hex": "#778517",
  "rgb": {
    "r": 119,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 67.636,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58559,
    "c": 0.12737,
    "h": 117.1
  },
  "luminance": 0.20759
}

Semantic roles & 50–950 ramp

primary
#778517
secondary
#4E3FB9
accent
#3BED51
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778517

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

Preview Lab → · Contrast checker → · Palette generator →

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