#789D32#789D32

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

Color values

HEX#789D32
RGBrgb(120, 157, 50)
HSLhsl(81, 52%, 41%)
HSVhsv(81, 68%, 62%)
CMYKcmyk(23.6%, 0%, 68.2%, 38.4%)
CIE-LABlab(60.19, -29.15, 49.70)
CIE-LCHlch(60.19, 57.62, 120.40°)
OKLaboklab(64.69% -0.0834 0.1128)
OKLCHoklch(64.69% 0.14 126.5)
XYZxyz(20.3785, 28.3370, 7.4129)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D32 #57329D
analogous
#9D8C32 #789D32 #429D32
triadic
#789D32 #32789D #9D3278
tetradic
#789D32 #329D8C #57329D #9D3242
square
#789D32 #329D8C #57329D #9D3242
split-complementary
#789D32 #32429D #8C329D
monochromatic
#314014 #556F23 #789D32 #99C548 #B3D376

Accessibility & contrast

On white

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

On black

6.67
#789D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D32
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D32#FFFFFF#000000##000000
##789D321.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #789d32;
/* rgb */ color: rgb(120, 157, 50);
/* oklch */ color: oklch(64.7% 0.140 126.5);
Tailwind
colors: {
  custom: {
    50: '#a2ba70',
    500: '#789d32',
    950: '#000000',
  },
}
SCSS
$custom: #789d32;
$custom-light: #a2ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#789d32",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 50
  },
  "hsl": {
    "h": 80.748,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6469,
    "c": 0.14027,
    "h": 126.5
  },
  "luminance": 0.28337
}

Semantic roles & 50–950 ramp

primary
#789D32
secondary
#8A6FBC
accent
#4DDB7E
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789D32

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

Preview Lab → · Contrast checker → · Palette generator →

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