#789D25#789D25

#789D25 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.6% C 0.149 H 125.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#789D25
RGBrgb(120, 157, 37)
HSLhsl(79, 62%, 38%)
HSVhsv(79, 76%, 62%)
CMYKcmyk(23.6%, 0%, 76.4%, 38.4%)
CIE-LABlab(60.11, -29.97, 54.52)
CIE-LCHlch(60.11, 62.21, 118.80°)
OKLaboklab(64.59% -0.0868 0.1208)
OKLCHoklch(64.59% 0.149 125.7)
XYZxyz(20.1368, 28.2403, 6.1399)
Luminance0.2824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D25 #4A259D
analogous
#9D8625 #789D25 #3C9D25
triadic
#789D25 #25789D #9D2578
tetradic
#789D25 #259D86 #4A259D #9D253C
square
#789D25 #259D86 #4A259D #9D253C
split-complementary
#789D25 #253C9D #86259D
monochromatic
#2C3A0E #526B19 #789D25 #9ECE31 #B5DA62

Accessibility & contrast

On white

3.16
#789D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#789D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D25
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D25#FFFFFF#000000##000000
##789D251.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69208
Deuteranopia (green-blind)
#A19031
Tritanopia (blue-blind)
#7D9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d25;
/* rgb */ color: rgb(120, 157, 37);
/* oklch */ color: oklch(64.6% 0.149 125.7);
Tailwind
colors: {
  custom: {
    50: '#a3ba69',
    500: '#789d25',
    950: '#000000',
  },
}
SCSS
$custom: #789d25;
$custom-light: #a3ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#789d25",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 37
  },
  "hsl": {
    "h": 78.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64592,
    "c": 0.14877,
    "h": 125.7
  },
  "luminance": 0.28241
}

Semantic roles & 50–950 ramp

primary
#789D25
secondary
#7C5EBF
accent
#43E575
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789D25

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

Preview Lab → · Contrast checker → · Palette generator →

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