#778F28#778F28

#778F28 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.130 H 121.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#778F28
RGBrgb(119, 143, 40)
HSLhsl(74, 56%, 36%)
HSVhsv(74, 72%, 56%)
CMYKcmyk(16.8%, 0%, 72%, 43.9%)
CIE-LABlab(55.81, -23.37, 49.22)
CIE-LCHlch(55.81, 54.49, 115.40°)
OKLaboklab(61.1% -0.0684 0.1102)
OKLCHoklch(61.1% 0.13 121.8)
XYZxyz(17.8135, 23.7200, 5.6470)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F28 #40288F
analogous
#8F7328 #778F28 #438F28
triadic
#778F28 #28778F #8F2877
tetradic
#778F28 #288F73 #40288F #8F2843
square
#778F28 #288F73 #40288F #8F2843
split-complementary
#778F28 #28438F #73288F
monochromatic
#272F0D #4F5F1B #778F28 #9FBF35 #B7D25F

Accessibility & contrast

On white

3.66
#778F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#778F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F28
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F28#FFFFFF#000000##000000
##778F281.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988617
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#7D887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f28;
/* rgb */ color: rgb(119, 143, 40);
/* oklch */ color: oklch(61.1% 0.130 121.8);
Tailwind
colors: {
  custom: {
    50: '#a1af69',
    500: '#778f28',
    950: '#000000',
  },
}
SCSS
$custom: #778f28;
$custom-light: #a1af69;
$custom-dark: #000000;
JSON
{
  "hex": "#778f28",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 73.981,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61104,
    "c": 0.1297,
    "h": 121.8
  },
  "luminance": 0.2372
}

Semantic roles & 50–950 ramp

primary
#778F28
secondary
#715BB8
accent
#48E06B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778F28

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

Preview Lab → · Contrast checker → · Palette generator →

#778F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva