#789822#789822

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

Color values

HEX#789822
RGBrgb(120, 152, 34)
HSLhsl(76, 63%, 36%)
HSVhsv(76, 78%, 60%)
CMYKcmyk(21.1%, 0%, 77.6%, 40.4%)
CIE-LABlab(58.57, -27.72, 54.08)
CIE-LCHlch(58.57, 60.77, 117.14°)
OKLaboklab(63.34% -0.0809 0.1194)
OKLCHoklch(63.34% 0.144 124.1)
XYZxyz(19.2629, 26.5649, 5.6258)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789822 #422298
analogous
#987D22 #789822 #3D9822
triadic
#789822 #227898 #982278
tetradic
#789822 #22987D #422298 #98223D
square
#789822 #22987D #422298 #98223D
split-complementary
#789822 #223D98 #7D2298
monochromatic
#29340C #516617 #789822 #9FCA2D #B7DA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789822#FFFFFF#000000##000000
##7898221.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)
#A18E03
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#7E9082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #789822;
/* rgb */ color: rgb(120, 152, 34);
/* oklch */ color: oklch(63.3% 0.144 124.1);
Tailwind
colors: {
  custom: {
    50: '#a2b667',
    500: '#789822',
    950: '#000000',
  },
}
SCSS
$custom: #789822;
$custom-light: #a2b667;
$custom-dark: #000000;
JSON
{
  "hex": "#789822",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 76.271,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63343,
    "c": 0.14422,
    "h": 124.1
  },
  "luminance": 0.26565
}

Semantic roles & 50–950 ramp

primary
#789822
secondary
#7357BE
accent
#41E66E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789822

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

Preview Lab → · Contrast checker → · Palette generator →

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