#78951D#78951D

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

Color values

HEX#78951D
RGBrgb(120, 149, 29)
HSLhsl(75, 67%, 35%)
HSVhsv(75, 81%, 58%)
CMYKcmyk(19.5%, 0%, 80.5%, 41.6%)
CIE-LABlab(57.63, -26.50, 54.80)
CIE-LCHlch(57.63, 60.87, 115.81°)
OKLaboklab(62.58% -0.0779 0.1201)
OKLCHoklch(62.58% 0.143 123)
XYZxyz(18.7152, 25.5766, 5.1130)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78951D #3A1D95
analogous
#95761D #78951D #3C951D
triadic
#78951D #1D7895 #951D78
tetradic
#78951D #1D9576 #3A1D95 #951D3C
square
#78951D #1D9576 #3A1D95 #951D3C
split-complementary
#78951D #1D3C95 #761D95
monochromatic
#252F09 #4F6213 #78951D #A1C827 #BBDD50

Accessibility & contrast

On white

3.43
#78951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#78951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78951D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78951D#FFFFFF#000000##000000
##78951D1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78951d;
/* rgb */ color: rgb(120, 149, 29);
/* oklch */ color: oklch(62.6% 0.143 123.0);
Tailwind
colors: {
  custom: {
    50: '#a3b464',
    500: '#78951d',
    950: '#000000',
  },
}
SCSS
$custom: #78951d;
$custom-light: #a3b464;
$custom-dark: #000000;
JSON
{
  "hex": "#78951d",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 74.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62577,
    "c": 0.14314,
    "h": 123
  },
  "luminance": 0.25577
}

Semantic roles & 50–950 ramp

primary
#78951D
secondary
#6A4EC0
accent
#3DEA67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78951D

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

Preview Lab → · Contrast checker → · Palette generator →

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