#789A34#789A34

#789A34 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.0% C 0.135 H 125.8°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#789A34
RGBrgb(120, 154, 52)
HSLhsl(80, 50%, 40%)
HSVhsv(80, 66%, 60%)
CMYKcmyk(22.1%, 0%, 66.2%, 39.6%)
CIE-LABlab(59.30, -27.56, 47.92)
CIE-LCHlch(59.30, 55.28, 119.90°)
OKLaboklab(63.97% -0.0788 0.1093)
OKLCHoklch(63.97% 0.135 125.8)
XYZxyz(19.9212, 27.3519, 7.4781)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A34 #56349A
analogous
#9A8934 #789A34 #459A34
triadic
#789A34 #34789A #9A3478
tetradic
#789A34 #349A89 #56349A #9A3445
square
#789A34 #349A89 #56349A #9A3445
split-complementary
#789A34 #34459A #89349A
monochromatic
#313E15 #546C25 #789A34 #9AC249 #B3D177

Accessibility & contrast

On white

3.25
#789A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#789A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A34
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A34#FFFFFF#000000##000000
##789A341.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29027
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#7D9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789a34;
/* rgb */ color: rgb(120, 154, 52);
/* oklch */ color: oklch(64.0% 0.135 125.8);
Tailwind
colors: {
  custom: {
    50: '#a2b871',
    500: '#789a34',
    950: '#000000',
  },
}
SCSS
$custom: #789a34;
$custom-light: #a2b871;
$custom-dark: #000000;
JSON
{
  "hex": "#789a34",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 52
  },
  "hsl": {
    "h": 80,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63972,
    "c": 0.13477,
    "h": 125.8
  },
  "luminance": 0.27352
}

Semantic roles & 50–950 ramp

primary
#789A34
secondary
#8970BA
accent
#4FD97D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789A34

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

Preview Lab → · Contrast checker → · Palette generator →

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