#789A25#789A25

#789A25 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.145 H 124.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#789A25
RGBrgb(120, 154, 37)
HSLhsl(77, 61%, 37%)
HSVhsv(77, 76%, 60%)
CMYKcmyk(22.1%, 0%, 76%, 39.6%)
CIE-LABlab(59.19, -28.53, 53.65)
CIE-LCHlch(59.19, 60.77, 118.01°)
OKLaboklab(63.85% -0.0829 0.119)
OKLCHoklch(63.85% 0.145 124.8)
XYZxyz(19.6354, 27.2376, 5.9728)
Luminance0.2724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A25 #47259A
analogous
#9A8225 #789A25 #3D9A25
triadic
#789A25 #25789A #9A2578
tetradic
#789A25 #259A82 #47259A #9A253D
square
#789A25 #259A82 #47259A #9A253D
split-complementary
#789A25 #253D9A #82259A
monochromatic
#2B370D #526919 #789A25 #9ECB31 #B6D960

Accessibility & contrast

On white

3.26
#789A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#789A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A25
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A25#FFFFFF#000000##000000
##789A251.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900A
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#7E9284
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789a25;
/* rgb */ color: rgb(120, 154, 37);
/* oklch */ color: oklch(63.9% 0.145 124.8);
Tailwind
colors: {
  custom: {
    50: '#a2b869',
    500: '#789a25',
    950: '#000000',
  },
}
SCSS
$custom: #789a25;
$custom-light: #a2b869;
$custom-dark: #000000;
JSON
{
  "hex": "#789a25",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 37
  },
  "hsl": {
    "h": 77.436,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63853,
    "c": 0.14501,
    "h": 124.8
  },
  "luminance": 0.27238
}

Semantic roles & 50–950 ramp

primary
#789A25
secondary
#795DBE
accent
#43E472
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789A25

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

Preview Lab → · Contrast checker → · Palette generator →

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