#789620#789620

#789620 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.8% C 0.143 H 123.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#789620
RGBrgb(120, 150, 32)
HSLhsl(75, 65%, 36%)
HSVhsv(75, 79%, 59%)
CMYKcmyk(20%, 0%, 78.7%, 41.2%)
CIE-LABlab(57.95, -26.85, 54.15)
CIE-LCHlch(57.95, 60.44, 116.37°)
OKLaboklab(62.84% -0.0786 0.1192)
OKLCHoklch(62.84% 0.143 123.4)
XYZxyz(18.9130, 25.9099, 5.3709)
Luminance0.2591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789620 #3E2096
analogous
#967920 #789620 #3D9620
triadic
#789620 #207896 #962078
tetradic
#789620 #209679 #3E2096 #96203D
square
#789620 #209679 #3E2096 #96203D
split-complementary
#789620 #203D96 #792096
monochromatic
#27310A #506415 #789620 #A0C82B #B9DB56

Accessibility & contrast

On white

3.40
#789620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#789620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789620
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789620#FFFFFF#000000##000000
##7896201.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#7E8E80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #789620;
/* rgb */ color: rgb(120, 150, 32);
/* oklch */ color: oklch(62.8% 0.143 123.4);
Tailwind
colors: {
  custom: {
    50: '#a2b566',
    500: '#789620',
    950: '#000000',
  },
}
SCSS
$custom: #789620;
$custom-light: #a2b566;
$custom-dark: #000000;
JSON
{
  "hex": "#789620",
  "rgb": {
    "r": 120,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 75.254,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62839,
    "c": 0.14283,
    "h": 123.4
  },
  "luminance": 0.2591
}

Semantic roles & 50–950 ramp

primary
#789620
secondary
#6F53BE
accent
#40E86B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789620

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

Preview Lab → · Contrast checker → · Palette generator →

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