#778318#778318

#778318 is a mid, vivid yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.125 H 116.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#778318
RGBrgb(119, 131, 24)
HSLhsl(67, 69%, 30%)
HSVhsv(67, 82%, 51%)
CMYKcmyk(9.2%, 0%, 81.7%, 48.6%)
CIE-LABlab(52.09, -18.03, 51.29)
CIE-LCHlch(52.09, 54.37, 109.37°)
OKLaboklab(58.08% -0.055 0.1118)
OKLCHoklch(58.08% 0.125 116.2)
XYZxyz(15.8894, 20.2207, 3.9299)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778318 #241883
analogous
#835918 #778318 #418318
triadic
#778318 #187783 #831877
tetradic
#778318 #188359 #241883 #831841
square
#778318 #188359 #241883 #831841
split-complementary
#778318 #184183 #591883
monochromatic
#191C05 #484F0F #778318 #A6B721 #C9DB3A

Accessibility & contrast

On white

4.16
#778318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#778318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778318
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778318#FFFFFF#000000##000000
##7783181.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#7F7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778318;
/* rgb */ color: rgb(119, 131, 24);
/* oklch */ color: oklch(58.1% 0.125 116.2);
Tailwind
colors: {
  custom: {
    50: '#a2a660',
    500: '#778318',
    950: '#000000',
  },
}
SCSS
$custom: #778318;
$custom-light: #a2a660;
$custom-dark: #000000;
JSON
{
  "hex": "#778318",
  "rgb": {
    "r": 119,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 66.729,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58079,
    "c": 0.12458,
    "h": 116.2
  },
  "luminance": 0.2022
}

Semantic roles & 50–950 ramp

primary
#778318
secondary
#4D40B7
accent
#3CEC50
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778318

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

Preview Lab → · Contrast checker → · Palette generator →

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