#778E23#778E23

#778E23 is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.8% C 0.132 H 121.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#778E23
RGBrgb(119, 142, 35)
HSLhsl(73, 60%, 35%)
HSVhsv(73, 75%, 56%)
CMYKcmyk(16.2%, 0%, 75.4%, 44.3%)
CIE-LABlab(55.47, -23.16, 50.77)
CIE-LCHlch(55.47, 55.80, 114.52°)
OKLaboklab(60.82% -0.0682 0.1126)
OKLCHoklch(60.82% 0.132 121.2)
XYZxyz(17.5844, 23.3893, 5.1780)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E23 #3A238E
analogous
#8E7023 #778E23 #428E23
triadic
#778E23 #23778E #8E2377
tetradic
#778E23 #238E70 #3A238E #8E2342
square
#778E23 #238E70 #3A238E #8E2342
split-complementary
#778E23 #23428E #70238E
monochromatic
#252C0B #4E5D17 #778E23 #A0BF2F #BAD556

Accessibility & contrast

On white

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

On black

5.68
#778E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E23
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E23#FFFFFF#000000##000000
##778E231.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850D
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#7E867A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e23;
/* rgb */ color: rgb(119, 142, 35);
/* oklch */ color: oklch(60.8% 0.132 121.2);
Tailwind
colors: {
  custom: {
    50: '#a1af66',
    500: '#778e23',
    950: '#000000',
  },
}
SCSS
$custom: #778e23;
$custom-light: #a1af66;
$custom-dark: #000000;
JSON
{
  "hex": "#778e23",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 72.897,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60823,
    "c": 0.13168,
    "h": 121.2
  },
  "luminance": 0.23389
}

Semantic roles & 50–950 ramp

primary
#778E23
secondary
#6953B9
accent
#44E466
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778E23

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

Preview Lab → · Contrast checker → · Palette generator →

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