#789820#789820

#789820 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.3% C 0.145 H 124.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#789820
RGBrgb(120, 152, 32)
HSLhsl(76, 65%, 36%)
HSVhsv(76, 79%, 60%)
CMYKcmyk(21.1%, 0%, 78.9%, 40.4%)
CIE-LABlab(58.56, -27.82, 54.72)
CIE-LCHlch(58.56, 61.38, 116.95°)
OKLaboklab(63.33% -0.0813 0.1204)
OKLCHoklch(63.33% 0.145 124)
XYZxyz(19.2349, 26.5537, 5.4782)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789820 #402098
analogous
#987C20 #789820 #3C9820
triadic
#789820 #207898 #982078
tetradic
#789820 #20987C #402098 #98203C
square
#789820 #20987C #402098 #98203C
split-complementary
#789820 #203C98 #7C2098
monochromatic
#28330B #506515 #789820 #A0CB2B #B8DC57

Accessibility & contrast

On white

3.33
#789820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#789820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789820
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789820#FFFFFF#000000##000000
##7898201.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#7E9082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #789820;
/* rgb */ color: rgb(120, 152, 32);
/* oklch */ color: oklch(63.3% 0.145 124.0);
Tailwind
colors: {
  custom: {
    50: '#a3b666',
    500: '#789820',
    950: '#000000',
  },
}
SCSS
$custom: #789820;
$custom-light: #a3b666;
$custom-dark: #000000;
JSON
{
  "hex": "#789820",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 76,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63331,
    "c": 0.14529,
    "h": 124
  },
  "luminance": 0.26554
}

Semantic roles & 50–950 ramp

primary
#789820
secondary
#7154BF
accent
#40E86D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789820

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

Preview Lab → · Contrast checker → · Palette generator →

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