#778E1B#778E1B

#778E1B is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.8% C 0.136 H 120.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#778E1B
RGBrgb(119, 142, 27)
HSLhsl(72, 68%, 33%)
HSVhsv(72, 81%, 56%)
CMYKcmyk(16.2%, 0%, 81%, 44.3%)
CIE-LABlab(55.43, -23.55, 53.38)
CIE-LCHlch(55.43, 58.34, 113.80°)
OKLaboklab(60.78% -0.0699 0.1168)
OKLCHoklch(60.78% 0.136 120.9)
XYZxyz(17.4789, 23.3471, 4.6223)
Luminance0.2335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E1B #321B8E
analogous
#8E6B1B #778E1B #3D8E1B
triadic
#778E1B #1B778E #8E1B77
tetradic
#778E1B #1B8E6B #321B8E #8E1B3D
square
#778E1B #1B8E6B #321B8E #8E1B3D
split-complementary
#778E1B #1B3D8E #6B1B8E
monochromatic
#212707 #4C5B11 #778E1B #A2C125 #BEDC47

Accessibility & contrast

On white

3.70
#778E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#778E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E1B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E1B#FFFFFF#000000##000000
##778E1B1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#7E8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e1b;
/* rgb */ color: rgb(119, 142, 27);
/* oklch */ color: oklch(60.8% 0.136 120.9);
Tailwind
colors: {
  custom: {
    50: '#a2af63',
    500: '#778e1b',
    950: '#000000',
  },
}
SCSS
$custom: #778e1b;
$custom-light: #a2af63;
$custom-dark: #000000;
JSON
{
  "hex": "#778e1b",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 72,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.1361,
    "h": 120.9
  },
  "luminance": 0.23347
}

Semantic roles & 50–950 ramp

primary
#778E1B
secondary
#5F47BE
accent
#3DEB60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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