#778F23#778F23

#778F23 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.133 H 121.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#778F23
RGBrgb(119, 143, 35)
HSLhsl(73, 61%, 35%)
HSVhsv(73, 76%, 56%)
CMYKcmyk(16.8%, 0%, 75.5%, 43.9%)
CIE-LABlab(55.77, -23.66, 51.06)
CIE-LCHlch(55.77, 56.27, 114.86°)
OKLaboklab(61.07% -0.0696 0.1132)
OKLCHoklch(61.07% 0.133 121.6)
XYZxyz(17.7339, 23.6882, 5.2278)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F23 #3B238F
analogous
#8F7123 #778F23 #418F23
triadic
#778F23 #23778F #8F2377
tetradic
#778F23 #238F71 #3B238F #8F2341
square
#778F23 #238F71 #3B238F #8F2341
split-complementary
#778F23 #23418F #71238F
monochromatic
#252D0B #4E5E17 #778F23 #A0C02F #BAD657

Accessibility & contrast

On white

3.66
#778F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#778F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F23
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F23#FFFFFF#000000##000000
##778F231.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860C
Deuteranopia (green-blind)
#95862D
Tritanopia (blue-blind)
#7E877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f23;
/* rgb */ color: rgb(119, 143, 35);
/* oklch */ color: oklch(61.1% 0.133 121.6);
Tailwind
colors: {
  custom: {
    50: '#a1af66',
    500: '#778f23',
    950: '#000000',
  },
}
SCSS
$custom: #778f23;
$custom-light: #a1af66;
$custom-dark: #000000;
JSON
{
  "hex": "#778f23",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 73.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61068,
    "c": 0.13292,
    "h": 121.6
  },
  "luminance": 0.23688
}

Semantic roles & 50–950 ramp

primary
#778F23
secondary
#6B54BA
accent
#44E468
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778F23

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

Preview Lab → · Contrast checker → · Palette generator →

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