#789A32#789A32

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

Color values

HEX#789A32
RGBrgb(120, 154, 50)
HSLhsl(80, 51%, 40%)
HSVhsv(80, 68%, 60%)
CMYKcmyk(22.1%, 0%, 67.5%, 39.6%)
CIE-LABlab(59.28, -27.71, 48.75)
CIE-LCHlch(59.28, 56.07, 119.61°)
OKLaboklab(63.95% -0.0795 0.1108)
OKLCHoklch(63.95% 0.136 125.7)
XYZxyz(19.8771, 27.3343, 7.2458)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A32 #54329A
analogous
#9A8832 #789A32 #449A32
triadic
#789A32 #32789A #9A3278
tetradic
#789A32 #329A88 #54329A #9A3244
square
#789A32 #329A88 #54329A #9A3244
split-complementary
#789A32 #32449A #88329A
monochromatic
#303E14 #546C23 #789A32 #9AC346 #B3D274

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789A32#FFFFFF#000000##000000
##789A321.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)
#A29024
Deuteranopia (green-blind)
#9E8E3A
Tritanopia (blue-blind)
#7D9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789a32;
/* rgb */ color: rgb(120, 154, 50);
/* oklch */ color: oklch(64.0% 0.136 125.7);
Tailwind
colors: {
  custom: {
    50: '#a2b870',
    500: '#789a32',
    950: '#000000',
  },
}
SCSS
$custom: #789a32;
$custom-light: #a2b870;
$custom-dark: #000000;
JSON
{
  "hex": "#789a32",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 50
  },
  "hsl": {
    "h": 79.615,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.63954,
    "c": 0.13632,
    "h": 125.7
  },
  "luminance": 0.27335
}

Semantic roles & 50–950 ramp

primary
#789A32
secondary
#876EBA
accent
#4DDA7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789A32

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

Preview Lab → · Contrast checker → · Palette generator →

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