#778F2B#778F2B

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

Color values

HEX#778F2B
RGBrgb(119, 143, 43)
HSLhsl(74, 54%, 36%)
HSVhsv(74, 70%, 56%)
CMYKcmyk(16.8%, 0%, 69.9%, 43.9%)
CIE-LABlab(55.83, -23.18, 48.05)
CIE-LCHlch(55.83, 53.35, 115.76°)
OKLaboklab(61.13% -0.0676 0.1083)
OKLCHoklch(61.13% 0.128 122)
XYZxyz(17.8665, 23.7412, 5.9263)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F2B #432B8F
analogous
#8F752B #778F2B #458F2B
triadic
#778F2B #2B778F #8F2B77
tetradic
#778F2B #2B8F75 #432B8F #8F2B45
square
#778F2B #2B8F75 #432B8F #8F2B45
split-complementary
#778F2B #2B458F #752B8F
monochromatic
#29310F #50601D #778F2B #9EBE39 #B6D064

Accessibility & contrast

On white

3.65
#778F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#778F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F2B
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F2B#FFFFFF#000000##000000
##778F2B1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861C
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#7D887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f2b;
/* rgb */ color: rgb(119, 143, 43);
/* oklch */ color: oklch(61.1% 0.128 122.0);
Tailwind
colors: {
  custom: {
    50: '#a1af6b',
    500: '#778f2b',
    950: '#000000',
  },
}
SCSS
$custom: #778f2b;
$custom-light: #a1af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#778f2b",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 74.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61128,
    "c": 0.1276,
    "h": 122
  },
  "luminance": 0.23741
}

Semantic roles & 50–950 ramp

primary
#778F2B
secondary
#745FB7
accent
#4BDD6E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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