#789720#789720

#789720 is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.1% C 0.144 H 123.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#789720
RGBrgb(120, 151, 32)
HSLhsl(76, 65%, 36%)
HSVhsv(76, 79%, 59%)
CMYKcmyk(20.5%, 0%, 78.8%, 40.8%)
CIE-LABlab(58.26, -27.34, 54.43)
CIE-LCHlch(58.26, 60.91, 116.66°)
OKLaboklab(63.09% -0.08 0.1198)
OKLCHoklch(63.09% 0.144 123.7)
XYZxyz(19.0733, 26.2304, 5.4244)
Luminance0.2623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789720 #3F2097
analogous
#977A20 #789720 #3D9720
triadic
#789720 #207897 #972078
tetradic
#789720 #20977A #3F2097 #97203D
square
#789720 #20977A #3F2097 #97203D
split-complementary
#789720 #203D97 #7A2097
monochromatic
#28320B #506415 #789720 #A0C92B #B9DB56

Accessibility & contrast

On white

3.36
#789720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#789720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789720
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789720#FFFFFF#000000##000000
##7897201.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#7E8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #789720;
/* rgb */ color: rgb(120, 151, 32);
/* oklch */ color: oklch(63.1% 0.144 123.7);
Tailwind
colors: {
  custom: {
    50: '#a3b566',
    500: '#789720',
    950: '#000000',
  },
}
SCSS
$custom: #789720;
$custom-light: #a3b566;
$custom-dark: #000000;
JSON
{
  "hex": "#789720",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 75.63,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63085,
    "c": 0.14405,
    "h": 123.7
  },
  "luminance": 0.26231
}

Semantic roles & 50–950 ramp

primary
#789720
secondary
#7054BF
accent
#40E86C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789720

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

Preview Lab → · Contrast checker → · Palette generator →

#789720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva