#78931F#78931F

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

Color values

HEX#78931F
RGBrgb(120, 147, 31)
HSLhsl(74, 65%, 35%)
HSVhsv(74, 79%, 58%)
CMYKcmyk(18.4%, 0%, 78.9%, 42.4%)
CIE-LABlab(57.04, -25.43, 53.63)
CIE-LCHlch(57.04, 59.35, 115.37°)
OKLaboklab(62.1% -0.0748 0.1179)
OKLCHoklch(62.1% 0.14 122.4)
XYZxyz(18.4270, 24.9594, 5.1429)
Luminance0.2496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78931F #3A1F93
analogous
#93741F #78931F #3E931F
triadic
#78931F #1F7893 #931F78
tetradic
#78931F #1F9374 #3A1F93 #931F3E
square
#78931F #1F9374 #3A1F93 #931F3E
split-complementary
#78931F #1F3E93 #741F93
monochromatic
#252E0A #4F6014 #78931F #A1C62A #BBDA52

Accessibility & contrast

On white

3.50
#78931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##78931F#FFFFFF#000000##000000
##78931F1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#7F8B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #78931f;
/* rgb */ color: rgb(120, 147, 31);
/* oklch */ color: oklch(62.1% 0.140 122.4);
Tailwind
colors: {
  custom: {
    50: '#a2b265',
    500: '#78931f',
    950: '#000000',
  },
}
SCSS
$custom: #78931f;
$custom-light: #a2b265;
$custom-dark: #000000;
JSON
{
  "hex": "#78931f",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 73.966,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62097,
    "c": 0.13968,
    "h": 122.4
  },
  "luminance": 0.24959
}

Semantic roles & 50–950 ramp

primary
#78931F
secondary
#6A50BE
accent
#40E867
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78931F

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

Preview Lab → · Contrast checker → · Palette generator →

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