#78931C#78931C

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

Color values

HEX#78931C
RGBrgb(120, 147, 28)
HSLhsl(74, 68%, 34%)
HSVhsv(74, 81%, 58%)
CMYKcmyk(18.4%, 0%, 81%, 42.4%)
CIE-LABlab(57.02, -25.56, 54.55)
CIE-LCHlch(57.02, 60.24, 115.11°)
OKLaboklab(62.08% -0.0754 0.1194)
OKLCHoklch(62.08% 0.141 122.3)
XYZxyz(18.3893, 24.9443, 4.9443)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78931C #371C93
analogous
#93731C #78931C #3D931C
triadic
#78931C #1C7893 #931C78
tetradic
#78931C #1C9373 #371C93 #931C3D
square
#78931C #1C9373 #371C93 #931C3D
split-complementary
#78931C #1C3D93 #731C93
monochromatic
#242C08 #4E6012 #78931C #A2C626 #BCDD4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78931C#FFFFFF#000000##000000
##78931C1.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)
#998928
Tritanopia (blue-blind)
#7F8B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #78931c;
/* rgb */ color: rgb(120, 147, 28);
/* oklch */ color: oklch(62.1% 0.141 122.3);
Tailwind
colors: {
  custom: {
    50: '#a3b264',
    500: '#78931c',
    950: '#000000',
  },
}
SCSS
$custom: #78931c;
$custom-light: #a3b264;
$custom-dark: #000000;
JSON
{
  "hex": "#78931c",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 73.613,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62081,
    "c": 0.1412,
    "h": 122.3
  },
  "luminance": 0.24944
}

Semantic roles & 50–950 ramp

primary
#78931C
secondary
#664CBF
accent
#3DEB64
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78931C

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

Preview Lab → · Contrast checker → · Palette generator →

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