#789A30#789A30

#789A30 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.9% C 0.138 H 125.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#789A30
RGBrgb(120, 154, 48)
HSLhsl(79, 52%, 40%)
HSVhsv(79, 69%, 60%)
CMYKcmyk(22.1%, 0%, 68.8%, 39.6%)
CIE-LABlab(59.27, -27.85, 49.56)
CIE-LCHlch(59.27, 56.85, 119.33°)
OKLaboklab(63.94% -0.08 0.1122)
OKLCHoklch(63.94% 0.138 125.5)
XYZxyz(19.8349, 27.3174, 7.0235)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A30 #52309A
analogous
#9A8730 #789A30 #439A30
triadic
#789A30 #30789A #9A3078
tetradic
#789A30 #309A87 #52309A #9A3043
square
#789A30 #309A87 #52309A #9A3043
split-complementary
#789A30 #30439A #87309A
monochromatic
#2F3D13 #546B21 #789A30 #9BC443 #B4D372

Accessibility & contrast

On white

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

On black

6.46
#789A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A30
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A30#FFFFFF#000000##000000
##789A301.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #789a30;
/* rgb */ color: rgb(120, 154, 48);
/* oklch */ color: oklch(63.9% 0.138 125.5);
Tailwind
colors: {
  custom: {
    50: '#a2b86e',
    500: '#789a30',
    950: '#000000',
  },
}
SCSS
$custom: #789a30;
$custom-light: #a2b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#789a30",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 48
  },
  "hsl": {
    "h": 79.245,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63936,
    "c": 0.1378,
    "h": 125.5
  },
  "luminance": 0.27318
}

Semantic roles & 50–950 ramp

primary
#789A30
secondary
#856BBB
accent
#4CDC7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789A30

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

Preview Lab → · Contrast checker → · Palette generator →

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