#789C1F#789C1F

#789C1F is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.3% C 0.151 H 125.1°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#789C1F
RGBrgb(120, 156, 31)
HSLhsl(77, 67%, 37%)
HSVhsv(77, 80%, 61%)
CMYKcmyk(23.1%, 0%, 80.1%, 38.8%)
CIE-LABlab(59.77, -29.79, 56.14)
CIE-LCHlch(59.77, 63.55, 117.95°)
OKLaboklab(64.31% -0.0867 0.1232)
OKLCHoklch(64.31% 0.151 125.1)
XYZxyz(19.8817, 27.8687, 5.6278)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789C1F #431F9C
analogous
#9C821F #789C1F #3A9C1F
triadic
#789C1F #1F789C #9C1F78
tetradic
#789C1F #1F9C82 #431F9C #9C1F3A
square
#789C1F #1F9C82 #431F9C #9C1F3A
split-complementary
#789C1F #1F3A9C #821F9C
monochromatic
#29360B #516915 #789C1F #9FCF29 #B7DE58

Accessibility & contrast

On white

3.19
#789C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#789C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789C1F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789C1F#FFFFFF#000000##000000
##789C1F1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A0902C
Tritanopia (blue-blind)
#7E9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #789c1f;
/* rgb */ color: rgb(120, 156, 31);
/* oklch */ color: oklch(64.3% 0.151 125.1);
Tailwind
colors: {
  custom: {
    50: '#a3b966',
    500: '#789c1f',
    950: '#000000',
  },
}
SCSS
$custom: #789c1f;
$custom-light: #a3b966;
$custom-dark: #000000;
JSON
{
  "hex": "#789c1f",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 77.28,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6431,
    "c": 0.1507,
    "h": 125.1
  },
  "luminance": 0.27869
}

Semantic roles & 50–950 ramp

primary
#789C1F
secondary
#7455C1
accent
#3EEA6F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789C1F

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

Preview Lab → · Contrast checker → · Palette generator →

#789C1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva