#778E2F#778E2F

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

Color values

HEX#778E2F
RGBrgb(119, 142, 47)
HSLhsl(75, 50%, 37%)
HSVhsv(75, 67%, 56%)
CMYKcmyk(16.2%, 0%, 66.9%, 44.3%)
CIE-LABlab(55.56, -22.40, 46.09)
CIE-LCHlch(55.56, 51.25, 115.92°)
OKLaboklab(60.92% -0.065 0.1048)
OKLCHoklch(60.92% 0.123 121.8)
XYZxyz(17.7941, 23.4732, 6.2821)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E2F #462F8E
analogous
#8E762F #778E2F #488E2F
triadic
#778E2F #2F778E #8E2F77
tetradic
#778E2F #2F8E76 #462F8E #8E2F48
square
#778E2F #2F8E76 #462F8E #8E2F48
split-complementary
#778E2F #2F488E #762F8E
monochromatic
#2A3211 #506020 #778E2F #9EBC3E #B5CE6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778E2F#FFFFFF#000000##000000
##778E2F1.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)
#968622
Deuteranopia (green-blind)
#948536
Tritanopia (blue-blind)
#7D877B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e2f;
/* rgb */ color: rgb(119, 142, 47);
/* oklch */ color: oklch(60.9% 0.123 121.8);
Tailwind
colors: {
  custom: {
    50: '#a1af6d',
    500: '#778e2f',
    950: '#000000',
  },
}
SCSS
$custom: #778e2f;
$custom-light: #a1af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#778e2f",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 74.526,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60919,
    "c": 0.12328,
    "h": 121.8
  },
  "luminance": 0.23473
}

Semantic roles & 50–950 ramp

primary
#778E2F
secondary
#7864B5
accent
#4EDA70
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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