#778518#778518

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

Color values

HEX#778518
RGBrgb(119, 133, 24)
HSLhsl(68, 69%, 31%)
HSVhsv(68, 82%, 52%)
CMYKcmyk(10.5%, 0%, 82%, 47.8%)
CIE-LABlab(52.69, -19.08, 51.83)
CIE-LCHlch(52.69, 55.23, 110.21°)
OKLaboklab(58.56% -0.0579 0.1129)
OKLCHoklch(58.56% 0.127 117.2)
XYZxyz(16.1606, 20.7631, 4.0203)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778518 #261885
analogous
#855C18 #778518 #418518
triadic
#778518 #187785 #851877
tetradic
#778518 #18855C #261885 #851841
square
#778518 #18855C #261885 #851841
split-complementary
#778518 #184185 #5C1885
monochromatic
#1A1D05 #49510F #778518 #A5B921 #C7DC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778518#FFFFFF#000000##000000
##7785181.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)
#8D7E23
Tritanopia (blue-blind)
#7F7D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #778518;
/* rgb */ color: rgb(119, 133, 24);
/* oklch */ color: oklch(58.6% 0.127 117.2);
Tailwind
colors: {
  custom: {
    50: '#a2a860',
    500: '#778518',
    950: '#000000',
  },
}
SCSS
$custom: #778518;
$custom-light: #a2a860;
$custom-dark: #000000;
JSON
{
  "hex": "#778518",
  "rgb": {
    "r": 119,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 67.706,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58564,
    "c": 0.1269,
    "h": 117.2
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

primary
#778518
secondary
#4F40B9
accent
#3CEC52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #778518

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

Preview Lab → · Contrast checker → · Palette generator →

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