#789E22#789E22

#789E22 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.8% C 0.152 H 125.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#789E22
RGBrgb(120, 158, 34)
HSLhsl(78, 65%, 38%)
HSVhsv(78, 78%, 62%)
CMYKcmyk(24.1%, 0%, 78.5%, 38%)
CIE-LABlab(60.39, -30.59, 55.78)
CIE-LCHlch(60.39, 63.62, 118.74°)
OKLaboklab(64.82% -0.0887 0.123)
OKLCHoklch(64.82% 0.152 125.8)
XYZxyz(20.2615, 28.5620, 5.9586)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E22 #48229E
analogous
#9E8622 #789E22 #3A9E22
triadic
#789E22 #22789E #9E2278
tetradic
#789E22 #229E86 #48229E #9E223A
square
#789E22 #229E86 #48229E #9E223A
split-complementary
#789E22 #223A9E #86229E
monochromatic
#2B390C #526C17 #789E22 #9ED02D #B6DC5E

Accessibility & contrast

On white

3.13
#789E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#789E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E22
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E22#FFFFFF#000000##000000
##789E221.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#7D9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789e22;
/* rgb */ color: rgb(120, 158, 34);
/* oklch */ color: oklch(64.8% 0.152 125.8);
Tailwind
colors: {
  custom: {
    50: '#a3ba68',
    500: '#789e22',
    950: '#000000',
  },
}
SCSS
$custom: #789e22;
$custom-light: #a3ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#789e22",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 78.387,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6482,
    "c": 0.15165,
    "h": 125.8
  },
  "luminance": 0.28562
}

Semantic roles & 50–950 ramp

primary
#789E22
secondary
#7A5BC1
accent
#40E874
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789E22

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

Preview Lab → · Contrast checker → · Palette generator →

#789E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva