#789B1F#789B1F

#789B1F is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.1% C 0.149 H 124.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#789B1F
RGBrgb(120, 155, 31)
HSLhsl(77, 67%, 36%)
HSVhsv(77, 80%, 61%)
CMYKcmyk(22.6%, 0%, 80%, 39.2%)
CIE-LABlab(59.47, -29.31, 55.86)
CIE-LCHlch(59.47, 63.08, 117.69°)
OKLaboklab(64.06% -0.0854 0.1227)
OKLCHoklch(64.06% 0.149 124.9)
XYZxyz(19.7146, 27.5345, 5.5721)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B1F #421F9B
analogous
#9B801F #789B1F #3A9B1F
triadic
#789B1F #1F789B #9B1F78
tetradic
#789B1F #1F9B80 #421F9B #9B1F3A
square
#789B1F #1F9B80 #421F9B #9B1F3A
split-complementary
#789B1F #1F3A9B #801F9B
monochromatic
#29350B #516815 #789B1F #9FCE29 #B7DD57

Accessibility & contrast

On white

3.23
#789B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#789B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789B1F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789B1F#FFFFFF#000000##000000
##789B1F1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9F8F2C
Tritanopia (blue-blind)
#7E9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789b1f;
/* rgb */ color: rgb(120, 155, 31);
/* oklch */ color: oklch(64.1% 0.149 124.9);
Tailwind
colors: {
  custom: {
    50: '#a3b866',
    500: '#789b1f',
    950: '#000000',
  },
}
SCSS
$custom: #789b1f;
$custom-light: #a3b866;
$custom-dark: #000000;
JSON
{
  "hex": "#789b1f",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 76.935,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64064,
    "c": 0.14948,
    "h": 124.9
  },
  "luminance": 0.27535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #789B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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