#789B22#789B22

#789B22 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.1% C 0.148 H 125.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#789B22
RGBrgb(120, 155, 34)
HSLhsl(77, 64%, 37%)
HSVhsv(77, 78%, 61%)
CMYKcmyk(22.6%, 0%, 78.1%, 39.2%)
CIE-LABlab(59.48, -29.17, 54.93)
CIE-LCHlch(59.48, 62.19, 117.97°)
OKLaboklab(64.08% -0.0848 0.1212)
OKLCHoklch(64.08% 0.148 125)
XYZxyz(19.7560, 27.5510, 5.7901)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B22 #45229B
analogous
#9B8122 #789B22 #3C9B22
triadic
#789B22 #22789B #9B2278
tetradic
#789B22 #229B81 #45229B #9B223C
square
#789B22 #229B81 #45229B #9B223C
split-complementary
#789B22 #223C9B #81229B
monochromatic
#2A370C #516917 #789B22 #9FCD2D #B6DB5C

Accessibility & contrast

On white

3.23
#789B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#789B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789B22
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789B22#FFFFFF#000000##000000
##789B221.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49001
Deuteranopia (green-blind)
#9F8F2E
Tritanopia (blue-blind)
#7E9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789b22;
/* rgb */ color: rgb(120, 155, 34);
/* oklch */ color: oklch(64.1% 0.148 125.0);
Tailwind
colors: {
  custom: {
    50: '#a3b867',
    500: '#789b22',
    950: '#000000',
  },
}
SCSS
$custom: #789b22;
$custom-light: #a3b867;
$custom-dark: #000000;
JSON
{
  "hex": "#789b22",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 77.355,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64081,
    "c": 0.14794,
    "h": 125
  },
  "luminance": 0.27551
}

Semantic roles & 50–950 ramp

primary
#789B22
secondary
#7759C0
accent
#41E771
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789B22

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

Preview Lab → · Contrast checker → · Palette generator →

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