#778B28#778B28

#778B28 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.1% C 0.125 H 120.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#778B28
RGBrgb(119, 139, 40)
HSLhsl(72, 55%, 35%)
HSVhsv(72, 71%, 55%)
CMYKcmyk(14.4%, 0%, 71.2%, 45.5%)
CIE-LABlab(54.60, -21.35, 48.01)
CIE-LCHlch(54.60, 52.54, 113.97°)
OKLaboklab(60.13% -0.0628 0.1077)
OKLCHoklch(60.13% 0.125 120.2)
XYZxyz(17.2237, 22.5404, 5.4504)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B28 #3C288B
analogous
#8B6D28 #778B28 #468B28
triadic
#778B28 #28778B #8B2877
tetradic
#778B28 #288B6D #3C288B #8B2846
square
#778B28 #288B6D #3C288B #8B2846
split-complementary
#778B28 #28468B #6D288B
monochromatic
#262C0D #4E5B1A #778B28 #A0BB36 #B9D05D

Accessibility & contrast

On white

3.81
#778B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#778B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B28
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B28#FFFFFF#000000##000000
##778B281.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948318
Deuteranopia (green-blind)
#918330
Tritanopia (blue-blind)
#7E8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778b28;
/* rgb */ color: rgb(119, 139, 40);
/* oklch */ color: oklch(60.1% 0.125 120.2);
Tailwind
colors: {
  custom: {
    50: '#a1ac68',
    500: '#778b28',
    950: '#000000',
  },
}
SCSS
$custom: #778b28;
$custom-light: #a1ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#778b28",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 72.121,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60128,
    "c": 0.12464,
    "h": 120.2
  },
  "luminance": 0.2254
}

Semantic roles & 50–950 ramp

primary
#778B28
secondary
#6C59B6
accent
#49DF67
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778B28

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

Preview Lab → · Contrast checker → · Palette generator →

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