#789B20#789B20

#789B20 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#789B20
RGBrgb(120, 155, 32)
HSLhsl(77, 66%, 37%)
HSVhsv(77, 79%, 61%)
CMYKcmyk(22.6%, 0%, 79.4%, 39.2%)
CIE-LABlab(59.47, -29.26, 55.56)
CIE-LCHlch(59.47, 62.79, 117.78°)
OKLaboklab(64.07% -0.0852 0.1222)
OKLCHoklch(64.07% 0.149 124.9)
XYZxyz(19.7280, 27.5398, 5.6426)
Luminance0.2754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B20 #43209B
analogous
#9B8120 #789B20 #3B9B20
triadic
#789B20 #20789B #9B2078
tetradic
#789B20 #209B81 #43209B #9B203B
square
#789B20 #209B81 #43209B #9B203B
split-complementary
#789B20 #203B9B #81209B
monochromatic
#29360B #516816 #789B20 #9FCE2A #B7DD59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789B20#FFFFFF#000000##000000
##789B201.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)
#9F8F2D
Tritanopia (blue-blind)
#7E9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789b20;
/* rgb */ color: rgb(120, 155, 32);
/* oklch */ color: oklch(64.1% 0.149 124.9);
Tailwind
colors: {
  custom: {
    50: '#a3b867',
    500: '#789b20',
    950: '#000000',
  },
}
SCSS
$custom: #789b20;
$custom-light: #a3b867;
$custom-dark: #000000;
JSON
{
  "hex": "#789b20",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 77.073,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64069,
    "c": 0.14898,
    "h": 124.9
  },
  "luminance": 0.2754
}

Semantic roles & 50–950 ramp

primary
#789B20
secondary
#7456C1
accent
#3FE96F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789B20

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

Preview Lab → · Contrast checker → · Palette generator →

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