#778915#778915

#778915 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.5% C 0.133 H 118.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#778915
RGBrgb(119, 137, 21)
HSLhsl(69, 73%, 31%)
HSVhsv(69, 85%, 54%)
CMYKcmyk(13.1%, 0%, 84.7%, 46.3%)
CIE-LABlab(53.89, -21.25, 53.73)
CIE-LCHlch(53.89, 57.77, 111.58°)
OKLaboklab(59.52% -0.0641 0.1164)
OKLCHoklch(59.52% 0.133 118.8)
XYZxyz(16.6892, 21.8675, 4.0510)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778915 #271589
analogous
#896115 #778915 #3D8915
triadic
#778915 #157789 #891577
tetradic
#778915 #158961 #271589 #89153D
square
#778915 #158961 #271589 #89153D
split-complementary
#778915 #153D89 #611589
monochromatic
#1B1F05 #49540D #778915 #A5BE1D #C6E038

Accessibility & contrast

On white

3.91
#778915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#778915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778915
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778915#FFFFFF#000000##000000
##7789151.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#7F8174
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #778915;
/* rgb */ color: rgb(119, 137, 21);
/* oklch */ color: oklch(59.5% 0.133 118.8);
Tailwind
colors: {
  custom: {
    50: '#a2ab60',
    500: '#778915',
    950: '#000000',
  },
}
SCSS
$custom: #778915;
$custom-light: #a2ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#778915",
  "rgb": {
    "r": 119,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 69.31,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.1329,
    "h": 118.8
  },
  "luminance": 0.21867
}

Semantic roles & 50–950 ramp

primary
#778915
secondary
#513DBD
accent
#38F054
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #778915

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

Preview Lab → · Contrast checker → · Palette generator →

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