#78931A#78931A

#78931A is a light, vivid yellow-green. Relative luminance 0.249; OKLCH L 62.1% C 0.142 H 122.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#78931A
RGBrgb(120, 147, 26)
HSLhsl(73, 70%, 34%)
HSVhsv(73, 82%, 58%)
CMYKcmyk(18.4%, 0%, 82.3%, 42.4%)
CIE-LABlab(57.01, -25.64, 55.12)
CIE-LCHlch(57.01, 60.79, 114.95°)
OKLaboklab(62.07% -0.0758 0.1202)
OKLCHoklch(62.07% 0.142 122.2)
XYZxyz(18.3662, 24.9350, 4.8225)
Luminance0.2493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78931A #351A93
analogous
#93721A #78931A #3C931A
triadic
#78931A #1A7893 #931A78
tetradic
#78931A #1A9372 #351A93 #931A3C
square
#78931A #1A9372 #351A93 #931A3C
split-complementary
#78931A #1A3C93 #721A93
monochromatic
#232B08 #4E5F11 #78931A #A2C723 #BDDF49

Accessibility & contrast

On white

3.51
#78931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#78931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78931A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78931A#FFFFFF#000000##000000
##78931A1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#998927
Tritanopia (blue-blind)
#7F8B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #78931a;
/* rgb */ color: rgb(120, 147, 26);
/* oklch */ color: oklch(62.1% 0.142 122.2);
Tailwind
colors: {
  custom: {
    50: '#a3b263',
    500: '#78931a',
    950: '#000000',
  },
}
SCSS
$custom: #78931a;
$custom-light: #a3b263;
$custom-dark: #000000;
JSON
{
  "hex": "#78931a",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 73.388,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62071,
    "c": 0.14214,
    "h": 122.2
  },
  "luminance": 0.24935
}

Semantic roles & 50–950 ramp

primary
#78931A
secondary
#6348C0
accent
#3BED63
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78931A

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

Preview Lab → · Contrast checker → · Palette generator →

#78931A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva