#789D30#789D30

#789D30 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.7% C 0.142 H 126.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#789D30
RGBrgb(120, 157, 48)
HSLhsl(80, 53%, 40%)
HSVhsv(80, 69%, 62%)
CMYKcmyk(23.6%, 0%, 69.4%, 38.4%)
CIE-LABlab(60.18, -29.30, 50.50)
CIE-LCHlch(60.18, 58.38, 120.12°)
OKLaboklab(64.67% -0.084 0.1141)
OKLCHoklch(64.67% 0.142 126.4)
XYZxyz(20.3363, 28.3201, 7.1906)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D30 #55309D
analogous
#9D8B30 #789D30 #419D30
triadic
#789D30 #30789D #9D3078
tetradic
#789D30 #309D8B #55309D #9D3041
square
#789D30 #309D8B #55309D #9D3041
split-complementary
#789D30 #30419D #8B309D
monochromatic
#303F13 #546E22 #789D30 #9AC644 #B3D473

Accessibility & contrast

On white

3.15
#789D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#789D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D30
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D30#FFFFFF#000000##000000
##789D301.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59220
Deuteranopia (green-blind)
#A09039
Tritanopia (blue-blind)
#7D9687
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d30;
/* rgb */ color: rgb(120, 157, 48);
/* oklch */ color: oklch(64.7% 0.142 126.4);
Tailwind
colors: {
  custom: {
    50: '#a2ba6f',
    500: '#789d30',
    950: '#000000',
  },
}
SCSS
$custom: #789d30;
$custom-light: #a2ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#789d30",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 48
  },
  "hsl": {
    "h": 80.367,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64673,
    "c": 0.14172,
    "h": 126.4
  },
  "luminance": 0.2832
}

Semantic roles & 50–950 ramp

primary
#789D30
secondary
#886DBC
accent
#4BDD7D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789D30

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

Preview Lab → · Contrast checker → · Palette generator →

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