#789B1D#789B1D

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

Color values

HEX#789B1D
RGBrgb(120, 155, 29)
HSLhsl(77, 68%, 36%)
HSVhsv(77, 81%, 61%)
CMYKcmyk(22.6%, 0%, 81.3%, 39.2%)
CIE-LABlab(59.46, -29.40, 56.45)
CIE-LCHlch(59.46, 63.64, 117.51°)
OKLaboklab(64.05% -0.0858 0.1236)
OKLCHoklch(64.05% 0.15 124.8)
XYZxyz(19.6890, 27.5242, 5.4376)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B1D #401D9B
analogous
#9B7F1D #789B1D #399B1D
triadic
#789B1D #1D789B #9B1D78
tetradic
#789B1D #1D9B7F #401D9B #9B1D39
square
#789B1D #1D9B7F #401D9B #9B1D39
split-complementary
#789B1D #1D399B #7F1D9B
monochromatic
#28340A #506713 #789B1D #A0CF27 #B8DF53

Accessibility & contrast

On white

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

On black

6.50
#789B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789B1D
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789B1D#FFFFFF#000000##000000
##789B1D1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #789b1d;
/* rgb */ color: rgb(120, 155, 29);
/* oklch */ color: oklch(64.1% 0.150 124.8);
Tailwind
colors: {
  custom: {
    50: '#a3b865',
    500: '#789b1d',
    950: '#000000',
  },
}
SCSS
$custom: #789b1d;
$custom-light: #a3b865;
$custom-dark: #000000;
JSON
{
  "hex": "#789b1d",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 29
  },
  "hsl": {
    "h": 76.667,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64053,
    "c": 0.15044,
    "h": 124.8
  },
  "luminance": 0.27524
}

Semantic roles & 50–950 ramp

primary
#789B1D
secondary
#7152C2
accent
#3CEB6D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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