#78911F#78911F

#78911F is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.6% C 0.137 H 121.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#78911F
RGBrgb(120, 145, 31)
HSLhsl(73, 65%, 35%)
HSVhsv(73, 79%, 57%)
CMYKcmyk(17.2%, 0%, 78.6%, 43.1%)
CIE-LABlab(56.43, -24.43, 53.07)
CIE-LCHlch(56.43, 58.42, 114.72°)
OKLaboklab(61.61% -0.0721 0.1168)
OKLCHoklch(61.61% 0.137 121.7)
XYZxyz(18.1187, 24.3428, 5.0402)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78911F #381F91
analogous
#91711F #78911F #3F911F
triadic
#78911F #1F7891 #911F78
tetradic
#78911F #1F9171 #381F91 #911F3F
square
#78911F #1F9171 #381F91 #911F3F
split-complementary
#78911F #1F3F91 #711F91
monochromatic
#252C09 #4E5F14 #78911F #A2C32A #BCDA51

Accessibility & contrast

On white

3.58
#78911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#78911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78911F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78911F#FFFFFF#000000##000000
##78911F1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#7F897C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #78911f;
/* rgb */ color: rgb(120, 145, 31);
/* oklch */ color: oklch(61.6% 0.137 121.7);
Tailwind
colors: {
  custom: {
    50: '#a2b165',
    500: '#78911f',
    950: '#000000',
  },
}
SCSS
$custom: #78911f;
$custom-light: #a2b165;
$custom-dark: #000000;
JSON
{
  "hex": "#78911f",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 73.158,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61607,
    "c": 0.13723,
    "h": 121.7
  },
  "luminance": 0.24343
}

Semantic roles & 50–950 ramp

primary
#78911F
secondary
#674FBD
accent
#40E865
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #78911F

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

Preview Lab → · Contrast checker → · Palette generator →

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