#78951F#78951F

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

Color values

HEX#78951F
RGBrgb(120, 149, 31)
HSLhsl(75, 66%, 35%)
HSVhsv(75, 79%, 58%)
CMYKcmyk(19.5%, 0%, 79.2%, 41.6%)
CIE-LABlab(57.64, -26.41, 54.19)
CIE-LCHlch(57.64, 60.28, 115.98°)
OKLaboklab(62.59% -0.0775 0.1191)
OKLCHoklch(62.59% 0.142 123.1)
XYZxyz(18.7408, 25.5868, 5.2475)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78951F #3C1F95
analogous
#95771F #78951F #3D951F
triadic
#78951F #1F7895 #951F78
tetradic
#78951F #1F9577 #3C1F95 #951F3D
square
#78951F #1F9577 #3C1F95 #951F3D
split-complementary
#78951F #1F3D95 #771F95
monochromatic
#26300A #4F6214 #78951F #A1C82A #BADB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78951F#FFFFFF#000000##000000
##78951F1.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)
#9A8A2B
Tritanopia (blue-blind)
#7E8D7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #78951f;
/* rgb */ color: rgb(120, 149, 31);
/* oklch */ color: oklch(62.6% 0.142 123.1);
Tailwind
colors: {
  custom: {
    50: '#a2b465',
    500: '#78951f',
    950: '#000000',
  },
}
SCSS
$custom: #78951f;
$custom-light: #a2b465;
$custom-dark: #000000;
JSON
{
  "hex": "#78951f",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 74.746,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62588,
    "c": 0.14213,
    "h": 123.1
  },
  "luminance": 0.25587
}

Semantic roles & 50–950 ramp

primary
#78951F
secondary
#6C51BF
accent
#3FE969
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78951F

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

Preview Lab → · Contrast checker → · Palette generator →

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