#778115#778115

#778115 is a mid, vivid yellow. Relative luminance 0.197; OKLCH L 57.6% C 0.124 H 115.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#778115
RGBrgb(119, 129, 21)
HSLhsl(66, 72%, 29%)
HSVhsv(66, 84%, 51%)
CMYKcmyk(7.8%, 0%, 83.7%, 49.4%)
CIE-LABlab(51.47, -17.10, 51.63)
CIE-LCHlch(51.47, 54.39, 108.32°)
OKLaboklab(57.58% -0.0527 0.1119)
OKLCHoklch(57.58% 0.124 115.2)
XYZxyz(15.5938, 19.6769, 3.6859)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778115 #1F1581
analogous
#815515 #778115 #418115
triadic
#778115 #157781 #811577
tetradic
#778115 #158155 #1F1581 #811541
square
#778115 #158155 #1F1581 #811541
split-complementary
#778115 #154181 #551581
monochromatic
#181A04 #464C0C #778115 #A8B61E #CEDE33

Accessibility & contrast

On white

4.25
#778115 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#778115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778115
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778115#FFFFFF#000000##000000
##7781151.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#7F796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #778115;
/* rgb */ color: rgb(119, 129, 21);
/* oklch */ color: oklch(57.6% 0.124 115.2);
Tailwind
colors: {
  custom: {
    50: '#a2a55e',
    500: '#778115',
    950: '#000000',
  },
}
SCSS
$custom: #778115;
$custom-light: #a2a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#778115",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 65.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.12371,
    "h": 115.2
  },
  "luminance": 0.19677
}

Semantic roles & 50–950 ramp

primary
#778115
secondary
#473CB6
accent
#39EF4A
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778115

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

Preview Lab → · Contrast checker → · Palette generator →

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