#78931B#78931B

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

Color values

HEX#78931B
RGBrgb(120, 147, 27)
HSLhsl(74, 69%, 34%)
HSVhsv(74, 82%, 58%)
CMYKcmyk(18.4%, 0%, 81.6%, 42.4%)
CIE-LABlab(57.02, -25.60, 54.84)
CIE-LCHlch(57.02, 60.52, 115.03°)
OKLaboklab(62.08% -0.0756 0.1198)
OKLCHoklch(62.08% 0.142 122.3)
XYZxyz(18.3776, 24.9396, 4.8823)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78931B #361B93
analogous
#93721B #78931B #3C931B
triadic
#78931B #1B7893 #931B78
tetradic
#78931B #1B9372 #361B93 #931B3C
square
#78931B #1B9372 #361B93 #931B3C
split-complementary
#78931B #1B3C93 #721B93
monochromatic
#242C08 #4E5F12 #78931B #A2C724 #BDDE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78931B#FFFFFF#000000##000000
##78931B1.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: #78931b;
/* rgb */ color: rgb(120, 147, 27);
/* oklch */ color: oklch(62.1% 0.142 122.3);
Tailwind
colors: {
  custom: {
    50: '#a3b263',
    500: '#78931b',
    950: '#000000',
  },
}
SCSS
$custom: #78931b;
$custom-light: #a3b263;
$custom-dark: #000000;
JSON
{
  "hex": "#78931b",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 73.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62076,
    "c": 0.14168,
    "h": 122.3
  },
  "luminance": 0.2494
}

Semantic roles & 50–950 ramp

primary
#78931B
secondary
#644AC0
accent
#3CEC64
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78931B

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

Preview Lab → · Contrast checker → · Palette generator →

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