#778018#778018

#778018 is a mid, vivid yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.121 H 114.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#778018
RGBrgb(119, 128, 24)
HSLhsl(65, 68%, 30%)
HSVhsv(65, 81%, 50%)
CMYKcmyk(7%, 0%, 81.3%, 49.8%)
CIE-LABlab(51.18, -16.45, 50.49)
CIE-LCHlch(51.18, 53.10, 108.05°)
OKLaboklab(57.35% -0.0507 0.11)
OKLCHoklch(57.35% 0.121 114.7)
XYZxyz(15.4923, 19.4265, 3.7976)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778018 #211880
analogous
#805518 #778018 #438018
triadic
#778018 #187780 #801877
tetradic
#778018 #188055 #211880 #801843
square
#778018 #188055 #211880 #801843
split-complementary
#778018 #184380 #551880
monochromatic
#181A05 #474C0E #778018 #A7B422 #CCDA39

Accessibility & contrast

On white

4.30
#778018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#778018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778018
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778018#FFFFFF#000000##000000
##7780181.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#7F786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #778018;
/* rgb */ color: rgb(119, 128, 24);
/* oklch */ color: oklch(57.4% 0.121 114.7);
Tailwind
colors: {
  custom: {
    50: '#a1a45f',
    500: '#778018',
    950: '#000000',
  },
}
SCSS
$custom: #778018;
$custom-light: #a1a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#778018",
  "rgb": {
    "r": 119,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 65.192,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.12115,
    "h": 114.7
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#778018
secondary
#4A40B4
accent
#3DEB4C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778018

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

Preview Lab → · Contrast checker → · Palette generator →

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