#778F12#778F12

#778F12 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 61.0% C 0.141 H 121.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#778F12
RGBrgb(119, 143, 18)
HSLhsl(72, 78%, 32%)
HSVhsv(72, 87%, 56%)
CMYKcmyk(16.8%, 0%, 87.4%, 43.9%)
CIE-LABlab(55.70, -24.37, 56.01)
CIE-LCHlch(55.70, 61.08, 113.51°)
OKLaboklab(60.98% -0.0728 0.1209)
OKLCHoklch(60.98% 0.141 121.1)
XYZxyz(17.5397, 23.6105, 4.2054)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F12 #2A128F
analogous
#8F6912 #778F12 #398F12
triadic
#778F12 #12778F #8F1277
tetradic
#778F12 #128F69 #2A128F #8F1239
square
#778F12 #128F69 #2A128F #8F1239
split-complementary
#778F12 #12398F #69128F
monochromatic
#1D2204 #4A590B #778F12 #A4C519 #C4E636

Accessibility & contrast

On white

3.67
#778F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#778F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F12
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F12#FFFFFF#000000##000000
##778F121.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#968621
Tritanopia (blue-blind)
#7E8779
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778f12;
/* rgb */ color: rgb(119, 143, 18);
/* oklch */ color: oklch(61.0% 0.141 121.1);
Tailwind
colors: {
  custom: {
    50: '#a2af5f',
    500: '#778f12',
    950: '#000000',
  },
}
SCSS
$custom: #778f12;
$custom-light: #a2af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#778f12",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 71.52,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60979,
    "c": 0.14108,
    "h": 121.1
  },
  "luminance": 0.23611
}

Semantic roles & 50–950 ramp

primary
#778F12
secondary
#543AC3
accent
#34F459
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778F12

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

Preview Lab → · Contrast checker → · Palette generator →

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