#778011#778011

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

Color values

HEX#778011
RGBrgb(119, 128, 17)
HSLhsl(65, 77%, 28%)
HSVhsv(65, 87%, 50%)
CMYKcmyk(7%, 0%, 86.7%, 49.8%)
CIE-LABlab(51.15, -16.70, 52.42)
CIE-LCHlch(51.15, 55.02, 107.67°)
OKLaboklab(57.32% -0.0519 0.1129)
OKLCHoklch(57.32% 0.124 114.7)
XYZxyz(15.4286, 19.4011, 3.4622)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778011 #1A1180
analogous
#805111 #778011 #3F8011
triadic
#778011 #117780 #801177
tetradic
#778011 #118051 #1A1180 #80113F
square
#778011 #118051 #1A1180 #80113F
split-complementary
#778011 #113F80 #511180
monochromatic
#191B04 #454A0A #778011 #A9B618 #D3E329

Accessibility & contrast

On white

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

On black

4.88
#778011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778011
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778011#FFFFFF#000000##000000
##7780111.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7B1D
Tritanopia (blue-blind)
#80786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #778011;
/* rgb */ color: rgb(119, 128, 17);
/* oklch */ color: oklch(57.3% 0.124 114.7);
Tailwind
colors: {
  custom: {
    50: '#a2a45d',
    500: '#778011',
    950: '#000000',
  },
}
SCSS
$custom: #778011;
$custom-light: #a2a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#778011",
  "rgb": {
    "r": 119,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 64.865,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.12426,
    "h": 114.7
  },
  "luminance": 0.19401
}

Semantic roles & 50–950 ramp

primary
#778011
secondary
#4137B6
accent
#35F344
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778011

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

Preview Lab → · Contrast checker → · Palette generator →

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