#789A22#789A22

#789A22 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.8% C 0.147 H 124.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#789A22
RGBrgb(120, 154, 34)
HSLhsl(77, 64%, 37%)
HSVhsv(77, 78%, 60%)
CMYKcmyk(22.1%, 0%, 77.9%, 39.6%)
CIE-LABlab(59.18, -28.69, 54.65)
CIE-LCHlch(59.18, 61.72, 117.70°)
OKLaboklab(63.83% -0.0835 0.1206)
OKLCHoklch(63.83% 0.147 124.7)
XYZxyz(19.5902, 27.2195, 5.7349)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A22 #44229A
analogous
#9A8022 #789A22 #3C9A22
triadic
#789A22 #22789A #9A2278
tetradic
#789A22 #229A80 #44229A #9A223C
square
#789A22 #229A80 #44229A #9A223C
split-complementary
#789A22 #223C9A #80229A
monochromatic
#2A360C #516817 #789A22 #9FCC2D #B7DB5B

Accessibility & contrast

On white

3.26
#789A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#789A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A22
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A22#FFFFFF#000000##000000
##789A221.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39002
Deuteranopia (green-blind)
#9E8E2E
Tritanopia (blue-blind)
#7E9284
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789a22;
/* rgb */ color: rgb(120, 154, 34);
/* oklch */ color: oklch(63.8% 0.147 124.7);
Tailwind
colors: {
  custom: {
    50: '#a3b867',
    500: '#789a22',
    950: '#000000',
  },
}
SCSS
$custom: #789a22;
$custom-light: #a3b867;
$custom-dark: #000000;
JSON
{
  "hex": "#789a22",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 77,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63834,
    "c": 0.1467,
    "h": 124.7
  },
  "luminance": 0.2722
}

Semantic roles & 50–950 ramp

primary
#789A22
secondary
#7658BF
accent
#41E770
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789A22

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

Preview Lab → · Contrast checker → · Palette generator →

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