#789E25#789E25

#789E25 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.8% C 0.150 H 125.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#789E25
RGBrgb(120, 158, 37)
HSLhsl(79, 62%, 38%)
HSVhsv(79, 77%, 62%)
CMYKcmyk(24.1%, 0%, 76.6%, 38%)
CIE-LABlab(60.41, -30.44, 54.81)
CIE-LCHlch(60.41, 62.70, 119.05°)
OKLaboklab(64.84% -0.0881 0.1215)
OKLCHoklch(64.84% 0.15 125.9)
XYZxyz(20.3066, 28.5800, 6.1966)
Luminance0.2858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E25 #4B259E
analogous
#9E8725 #789E25 #3B9E25
triadic
#789E25 #25789E #9E2578
tetradic
#789E25 #259E87 #4B259E #9E253B
square
#789E25 #259E87 #4B259E #9E253B
split-complementary
#789E25 #253B9E #87259E
monochromatic
#2D3B0E #526C19 #789E25 #9DCF31 #B5DA63

Accessibility & contrast

On white

3.13
#789E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#789E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E25
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E25#FFFFFF#000000##000000
##789E251.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79308
Deuteranopia (green-blind)
#A29131
Tritanopia (blue-blind)
#7D9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789e25;
/* rgb */ color: rgb(120, 158, 37);
/* oklch */ color: oklch(64.8% 0.150 125.9);
Tailwind
colors: {
  custom: {
    50: '#a3ba69',
    500: '#789e25',
    950: '#000000',
  },
}
SCSS
$custom: #789e25;
$custom-light: #a3ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#789e25",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 37
  },
  "hsl": {
    "h": 78.843,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64838,
    "c": 0.15002,
    "h": 125.9
  },
  "luminance": 0.2858
}

Semantic roles & 50–950 ramp

primary
#789E25
secondary
#7D5FC0
accent
#43E576
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789E25

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

Preview Lab → · Contrast checker → · Palette generator →

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