#778728#778728

#778728 is a mid, moderate yellow-green. Relative luminance 0.214; OKLCH L 59.2% C 0.120 H 118.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#778728
RGBrgb(119, 135, 40)
HSLhsl(70, 54%, 34%)
HSVhsv(70, 70%, 53%)
CMYKcmyk(11.9%, 0%, 70.4%, 47.1%)
CIE-LABlab(53.39, -19.29, 46.79)
CIE-LCHlch(53.39, 50.61, 112.41°)
OKLaboklab(59.16% -0.0571 0.1051)
OKLCHoklch(59.16% 0.12 118.5)
XYZxyz(16.6551, 21.4032, 5.2609)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778728 #382887
analogous
#876828 #778728 #488728
triadic
#778728 #287787 #872877
tetradic
#778728 #288768 #382887 #872848
square
#778728 #288768 #382887 #872848
split-complementary
#778728 #284887 #682887
monochromatic
#24290C #4D581A #778728 #A1B636 #BBCE5B

Accessibility & contrast

On white

3.98
#778728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#778728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778728
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778728#FFFFFF#000000##000000
##7787281.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#7E8074
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #778728;
/* rgb */ color: rgb(119, 135, 40);
/* oklch */ color: oklch(59.2% 0.120 118.5);
Tailwind
colors: {
  custom: {
    50: '#a1a968',
    500: '#778728',
    950: '#000000',
  },
}
SCSS
$custom: #778728;
$custom-light: #a1a968;
$custom-dark: #000000;
JSON
{
  "hex": "#778728",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 70.105,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59156,
    "c": 0.11961,
    "h": 118.5
  },
  "luminance": 0.21403
}

Semantic roles & 50–950 ramp

primary
#778728
secondary
#6757B4
accent
#4ADE63
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778728

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

Preview Lab → · Contrast checker → · Palette generator →

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