#789F22#789F22

#789F22 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.1% C 0.153 H 126.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#789F22
RGBrgb(120, 159, 34)
HSLhsl(79, 65%, 38%)
HSVhsv(79, 79%, 62%)
CMYKcmyk(24.5%, 0%, 78.6%, 37.6%)
CIE-LABlab(60.70, -31.07, 56.06)
CIE-LCHlch(60.70, 64.10, 118.99°)
OKLaboklab(65.07% -0.09 0.1236)
OKLCHoklch(65.07% 0.153 126.1)
XYZxyz(20.4327, 28.9045, 6.0157)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F22 #49229F
analogous
#9F8722 #789F22 #399F22
triadic
#789F22 #22789F #9F2278
tetradic
#789F22 #229F87 #49229F #9F2239
square
#789F22 #229F87 #49229F #9F2239
split-complementary
#789F22 #22399F #87229F
monochromatic
#2C3A0C #526D17 #789F22 #9ED12D #B5DD5F

Accessibility & contrast

On white

3.10
#789F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#789F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789F22
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789F22#FFFFFF#000000##000000
##789F221.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#7D9788
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789f22;
/* rgb */ color: rgb(120, 159, 34);
/* oklch */ color: oklch(65.1% 0.153 126.1);
Tailwind
colors: {
  custom: {
    50: '#a3bb68',
    500: '#789f22',
    950: '#000000',
  },
}
SCSS
$custom: #789f22;
$custom-light: #a3bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#789f22",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 78.72,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65067,
    "c": 0.15288,
    "h": 126.1
  },
  "luminance": 0.28905
}

Semantic roles & 50–950 ramp

primary
#789F22
secondary
#7B5BC1
accent
#40E874
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #789F22

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

Preview Lab → · Contrast checker → · Palette generator →

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