#778618#778618

#778618 is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.8% C 0.128 H 117.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#778618
RGBrgb(119, 134, 24)
HSLhsl(68, 70%, 31%)
HSVhsv(68, 82%, 53%)
CMYKcmyk(11.2%, 0%, 82.1%, 47.5%)
CIE-LABlab(52.99, -19.60, 52.10)
CIE-LCHlch(52.99, 55.66, 110.61°)
OKLaboklab(58.81% -0.0593 0.1135)
OKLCHoklch(58.81% 0.128 117.6)
XYZxyz(16.2981, 21.0383, 4.0662)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778618 #271886
analogous
#865E18 #778618 #408618
triadic
#778618 #187786 #861877
tetradic
#778618 #18865E #271886 #861840
square
#778618 #18865E #271886 #861840
split-complementary
#778618 #184086 #5E1886
monochromatic
#1B1E05 #49520F #778618 #A5BA21 #C6DC3C

Accessibility & contrast

On white

4.03
#778618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#778618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778618
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778618#FFFFFF#000000##000000
##7786181.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#7F7E72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #778618;
/* rgb */ color: rgb(119, 134, 24);
/* oklch */ color: oklch(58.8% 0.128 117.6);
Tailwind
colors: {
  custom: {
    50: '#a2a960',
    500: '#778618',
    950: '#000000',
  },
}
SCSS
$custom: #778618;
$custom-light: #a2a960;
$custom-dark: #000000;
JSON
{
  "hex": "#778618",
  "rgb": {
    "r": 119,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 68.182,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58807,
    "c": 0.12806,
    "h": 117.6
  },
  "luminance": 0.21038
}

Semantic roles & 50–950 ramp

primary
#778618
secondary
#5140BA
accent
#3BEC54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #778618

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

Preview Lab → · Contrast checker → · Palette generator →

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