#778417#778417

#778417 is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.3% C 0.126 H 116.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#778417
RGBrgb(119, 132, 23)
HSLhsl(67, 70%, 30%)
HSVhsv(67, 83%, 52%)
CMYKcmyk(9.8%, 0%, 82.6%, 48.2%)
CIE-LABlab(52.38, -18.60, 51.86)
CIE-LCHlch(52.38, 55.09, 109.73°)
OKLaboklab(58.32% -0.0567 0.1128)
OKLCHoklch(58.32% 0.126 116.7)
XYZxyz(16.0141, 20.4865, 3.9211)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778417 #241784
analogous
#845A17 #778417 #408417
triadic
#778417 #177784 #841777
tetradic
#778417 #17845A #241784 #841740
square
#778417 #17845A #241784 #841740
split-complementary
#778417 #174084 #5A1784
monochromatic
#191C05 #48500E #778417 #A6B820 #C9DC39

Accessibility & contrast

On white

4.12
#778417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#778417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778417
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778417#FFFFFF#000000##000000
##7784171.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#7F7C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #778417;
/* rgb */ color: rgb(119, 132, 23);
/* oklch */ color: oklch(58.3% 0.126 116.7);
Tailwind
colors: {
  custom: {
    50: '#a2a760',
    500: '#778417',
    950: '#000000',
  },
}
SCSS
$custom: #778417;
$custom-light: #a2a760;
$custom-dark: #000000;
JSON
{
  "hex": "#778417",
  "rgb": {
    "r": 119,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 67.156,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58316,
    "c": 0.12622,
    "h": 116.7
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#778417
secondary
#4D3FB8
accent
#3BED50
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778417

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

Preview Lab → · Contrast checker → · Palette generator →

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