#789920#789920

#789920 is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.6% C 0.147 H 124.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#789920
RGBrgb(120, 153, 32)
HSLhsl(76, 65%, 36%)
HSVhsv(76, 79%, 60%)
CMYKcmyk(21.6%, 0%, 79.1%, 40%)
CIE-LABlab(58.86, -28.30, 55.00)
CIE-LCHlch(58.86, 61.85, 117.23°)
OKLaboklab(63.58% -0.0826 0.121)
OKLCHoklch(63.58% 0.147 124.3)
XYZxyz(19.3979, 26.8796, 5.5326)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789920 #412099
analogous
#997E20 #789920 #3C9920
triadic
#789920 #207899 #992078
tetradic
#789920 #20997E #412099 #99203C
square
#789920 #20997E #412099 #99203C
split-complementary
#789920 #203C99 #7E2099
monochromatic
#29340B #506615 #789920 #A0CC2B #B8DC57

Accessibility & contrast

On white

3.29
#789920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#789920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789920
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789920#FFFFFF#000000##000000
##7899201.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9E8D2C
Tritanopia (blue-blind)
#7E9183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789920;
/* rgb */ color: rgb(120, 153, 32);
/* oklch */ color: oklch(63.6% 0.147 124.3);
Tailwind
colors: {
  custom: {
    50: '#a3b766',
    500: '#789920',
    950: '#000000',
  },
}
SCSS
$custom: #789920;
$custom-light: #a3b766;
$custom-dark: #000000;
JSON
{
  "hex": "#789920",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 76.364,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63577,
    "c": 0.14652,
    "h": 124.3
  },
  "luminance": 0.2688
}

Semantic roles & 50–950 ramp

primary
#789920
secondary
#7255C0
accent
#3FE86E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789920

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

Preview Lab → · Contrast checker → · Palette generator →

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