#778E2B#778E2B

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

Color values

HEX#778E2B
RGBrgb(119, 142, 43)
HSLhsl(74, 54%, 36%)
HSVhsv(74, 70%, 56%)
CMYKcmyk(16.2%, 0%, 69.7%, 44.3%)
CIE-LABlab(55.52, -22.68, 47.74)
CIE-LCHlch(55.52, 52.85, 115.41°)
OKLaboklab(60.88% -0.0662 0.1076)
OKLCHoklch(60.88% 0.126 121.6)
XYZxyz(17.7170, 23.4423, 5.8765)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E2B #422B8E
analogous
#8E742B #778E2B #468E2B
triadic
#778E2B #2B778E #8E2B77
tetradic
#778E2B #2B8E74 #422B8E #8E2B46
square
#778E2B #2B8E74 #422B8E #8E2B46
split-complementary
#778E2B #2B468E #742B8E
monochromatic
#28300F #505F1D #778E2B #9EBD39 #B7D063

Accessibility & contrast

On white

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

On black

5.69
#778E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E2B
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E2B#FFFFFF#000000##000000
##778E2B1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97851C
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e2b;
/* rgb */ color: rgb(119, 142, 43);
/* oklch */ color: oklch(60.9% 0.126 121.6);
Tailwind
colors: {
  custom: {
    50: '#a1af6a',
    500: '#778e2b',
    950: '#000000',
  },
}
SCSS
$custom: #778e2b;
$custom-light: #a1af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#778e2b",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 73.939,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60884,
    "c": 0.12631,
    "h": 121.6
  },
  "luminance": 0.23442
}

Semantic roles & 50–950 ramp

primary
#778E2B
secondary
#735FB6
accent
#4BDD6D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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