#778E12#778E12

#778E12 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.7% C 0.140 H 120.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#778E12
RGBrgb(119, 142, 18)
HSLhsl(71, 78%, 31%)
HSVhsv(71, 87%, 56%)
CMYKcmyk(16.2%, 0%, 87.3%, 44.3%)
CIE-LABlab(55.39, -23.87, 55.75)
CIE-LCHlch(55.39, 60.65, 113.18°)
OKLaboklab(60.73% -0.0714 0.1203)
OKLCHoklch(60.73% 0.14 120.7)
XYZxyz(17.3903, 23.3116, 4.1556)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E12 #29128E
analogous
#8E6712 #778E12 #398E12
triadic
#778E12 #12778E #8E1277
tetradic
#778E12 #128E67 #29128E #8E1239
square
#778E12 #128E67 #29128E #8E1239
split-complementary
#778E12 #12398E #67128E
monochromatic
#1C2104 #49580B #778E12 #A5C419 #C5E535

Accessibility & contrast

On white

3.71
#778E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#778E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E12
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E12#FFFFFF#000000##000000
##778E121.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #778e12;
/* rgb */ color: rgb(119, 142, 18);
/* oklch */ color: oklch(60.7% 0.140 120.7);
Tailwind
colors: {
  custom: {
    50: '#a2af5f',
    500: '#778e12',
    950: '#000000',
  },
}
SCSS
$custom: #778e12;
$custom-light: #a2af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#778e12",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 18
  },
  "hsl": {
    "h": 71.129,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60734,
    "c": 0.13991,
    "h": 120.7
  },
  "luminance": 0.23312
}

Semantic roles & 50–950 ramp

primary
#778E12
secondary
#533AC2
accent
#34F457
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778E12

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

Preview Lab → · Contrast checker → · Palette generator →

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