#778118#778118

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

Color values

HEX#778118
RGBrgb(119, 129, 24)
HSLhsl(66, 69%, 30%)
HSVhsv(66, 81%, 51%)
CMYKcmyk(7.8%, 0%, 81.4%, 49.4%)
CIE-LABlab(51.48, -16.98, 50.76)
CIE-LCHlch(51.48, 53.52, 108.50°)
OKLaboklab(57.6% -0.0521 0.1106)
OKLCHoklch(57.6% 0.122 115.2)
XYZxyz(15.6233, 19.6887, 3.8413)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778118 #221881
analogous
#815618 #778118 #438118
triadic
#778118 #187781 #811877
tetradic
#778118 #188156 #221881 #811843
square
#778118 #188156 #221881 #811843
split-complementary
#778118 #184381 #561881
monochromatic
#181A05 #474D0E #778118 #A7B522 #CBDA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778118#FFFFFF#000000##000000
##7781181.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)
#8A7B22
Tritanopia (blue-blind)
#7F796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #778118;
/* rgb */ color: rgb(119, 129, 24);
/* oklch */ color: oklch(57.6% 0.122 115.2);
Tailwind
colors: {
  custom: {
    50: '#a2a55f',
    500: '#778118',
    950: '#000000',
  },
}
SCSS
$custom: #778118;
$custom-light: #a2a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#778118",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 65.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.12229,
    "h": 115.2
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#778118
secondary
#4B40B5
accent
#3CEB4D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778118

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

Preview Lab → · Contrast checker → · Palette generator →

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