#78951B#78951B

#78951B is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.6% C 0.144 H 122.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#78951B
RGBrgb(120, 149, 27)
HSLhsl(74, 69%, 35%)
HSVhsv(74, 82%, 58%)
CMYKcmyk(19.5%, 0%, 81.9%, 41.6%)
CIE-LABlab(57.62, -26.58, 55.38)
CIE-LCHlch(57.62, 61.43, 115.64°)
OKLaboklab(62.57% -0.0783 0.121)
OKLCHoklch(62.57% 0.144 122.9)
XYZxyz(18.6913, 25.5670, 4.9869)
Luminance0.2557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78951B #381B95
analogous
#95751B #78951B #3B951B
triadic
#78951B #1B7895 #951B78
tetradic
#78951B #1B9575 #381B95 #951B3B
square
#78951B #1B9575 #381B95 #951B3B
split-complementary
#78951B #1B3B95 #751B95
monochromatic
#252D08 #4E6112 #78951B #A2C924 #BCDF4C

Accessibility & contrast

On white

3.44
#78951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#78951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78951B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78951B#FFFFFF#000000##000000
##78951B1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#7F8D7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #78951b;
/* rgb */ color: rgb(120, 149, 27);
/* oklch */ color: oklch(62.6% 0.144 122.9);
Tailwind
colors: {
  custom: {
    50: '#a3b464',
    500: '#78951b',
    950: '#000000',
  },
}
SCSS
$custom: #78951b;
$custom-light: #a3b464;
$custom-dark: #000000;
JSON
{
  "hex": "#78951b",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 74.262,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62567,
    "c": 0.14409,
    "h": 122.9
  },
  "luminance": 0.25567
}

Semantic roles & 50–950 ramp

primary
#78951B
secondary
#674BC1
accent
#3CEC66
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78951B

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

Preview Lab → · Contrast checker → · Palette generator →

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