#778E28#778E28

#778E28 is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.9% C 0.128 H 121.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#778E28
RGBrgb(119, 142, 40)
HSLhsl(74, 56%, 36%)
HSVhsv(74, 72%, 56%)
CMYKcmyk(16.2%, 0%, 71.8%, 44.3%)
CIE-LABlab(55.50, -22.87, 48.92)
CIE-LCHlch(55.50, 54.00, 115.06°)
OKLaboklab(60.86% -0.067 0.1096)
OKLCHoklch(60.86% 0.128 121.4)
XYZxyz(17.6640, 23.4211, 5.5972)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E28 #3F288E
analogous
#8E7228 #778E28 #448E28
triadic
#778E28 #28778E #8E2877
tetradic
#778E28 #288E72 #3F288E #8E2844
square
#778E28 #288E72 #3F288E #8E2844
split-complementary
#778E28 #28448E #72288E
monochromatic
#272F0D #4F5E1B #778E28 #9FBE35 #B8D25F

Accessibility & contrast

On white

3.69
#778E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#778E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E28
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E28#FFFFFF#000000##000000
##778E281.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978517
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#7E877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e28;
/* rgb */ color: rgb(119, 142, 40);
/* oklch */ color: oklch(60.9% 0.128 121.4);
Tailwind
colors: {
  custom: {
    50: '#a1af69',
    500: '#778e28',
    950: '#000000',
  },
}
SCSS
$custom: #778e28;
$custom-light: #a1af69;
$custom-dark: #000000;
JSON
{
  "hex": "#778e28",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 73.529,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.12844,
    "h": 121.4
  },
  "luminance": 0.23421
}

Semantic roles & 50–950 ramp

primary
#778E28
secondary
#6F5BB7
accent
#48DF6A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778E28

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

Preview Lab → · Contrast checker → · Palette generator →

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