#778628#778628

#778628 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 58.9% C 0.118 H 118.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#778628
RGBrgb(119, 134, 40)
HSLhsl(70, 54%, 34%)
HSVhsv(70, 70%, 53%)
CMYKcmyk(11.2%, 0%, 70.1%, 47.5%)
CIE-LABlab(53.09, -18.77, 46.48)
CIE-LCHlch(53.09, 50.13, 111.99°)
OKLaboklab(58.91% -0.0556 0.1045)
OKLCHoklch(58.91% 0.118 118)
XYZxyz(16.5162, 21.1255, 5.2146)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778628 #372886
analogous
#866628 #778628 #488628
triadic
#778628 #287786 #862877
tetradic
#778628 #288666 #372886 #862848
square
#778628 #288666 #372886 #862848
split-complementary
#778628 #284886 #662886
monochromatic
#23280C #4D571A #778628 #A1B536 #BBCE5B

Accessibility & contrast

On white

4.02
#778628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#778628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778628
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778628#FFFFFF#000000##000000
##7786281.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1A
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#7E7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #778628;
/* rgb */ color: rgb(119, 134, 40);
/* oklch */ color: oklch(58.9% 0.118 118.0);
Tailwind
colors: {
  custom: {
    50: '#a1a968',
    500: '#778628',
    950: '#000000',
  },
}
SCSS
$custom: #778628;
$custom-light: #a1a968;
$custom-dark: #000000;
JSON
{
  "hex": "#778628",
  "rgb": {
    "r": 119,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 69.574,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.11837,
    "h": 118
  },
  "luminance": 0.21125
}

Semantic roles & 50–950 ramp

primary
#778628
secondary
#6557B3
accent
#4ADD62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778628

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

Preview Lab → · Contrast checker → · Palette generator →

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