#778C2B#778C2B

#778C2B is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.4% C 0.124 H 120.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#778C2B
RGBrgb(119, 140, 43)
HSLhsl(73, 53%, 36%)
HSVhsv(73, 69%, 55%)
CMYKcmyk(15%, 0%, 69.3%, 45.1%)
CIE-LABlab(54.92, -21.66, 47.12)
CIE-LCHlch(54.92, 51.86, 114.69°)
OKLaboklab(60.4% -0.0634 0.1063)
OKLCHoklch(60.4% 0.124 120.8)
XYZxyz(17.4221, 22.8526, 5.7782)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C2B #402B8C
analogous
#8C702B #778C2B #468C2B
triadic
#778C2B #2B778C #8C2B77
tetradic
#778C2B #2B8C70 #402B8C #8C2B46
square
#778C2B #2B8C70 #402B8C #8C2B46
split-complementary
#778C2B #2B468C #702B8C
monochromatic
#272E0E #4F5D1D #778C2B #9FBB39 #B7CF62

Accessibility & contrast

On white

3.77
#778C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#778C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C2B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C2B#FFFFFF#000000##000000
##778C2B1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841D
Deuteranopia (green-blind)
#928432
Tritanopia (blue-blind)
#7E8579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c2b;
/* rgb */ color: rgb(119, 140, 43);
/* oklch */ color: oklch(60.4% 0.124 120.8);
Tailwind
colors: {
  custom: {
    50: '#a1ad6a',
    500: '#778c2b',
    950: '#000000',
  },
}
SCSS
$custom: #778c2b;
$custom-light: #a1ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#778c2b",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 72.99,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60396,
    "c": 0.12375,
    "h": 120.8
  },
  "luminance": 0.22853
}

Semantic roles & 50–950 ramp

primary
#778C2B
secondary
#715EB5
accent
#4BDC6B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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