#789E28#789E28

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

Color values

HEX#789E28
RGBrgb(120, 158, 40)
HSLhsl(79, 60%, 39%)
HSVhsv(79, 75%, 62%)
CMYKcmyk(24.1%, 0%, 74.7%, 38%)
CIE-LABlab(60.43, -30.28, 53.79)
CIE-LCHlch(60.43, 61.72, 119.38°)
OKLaboklab(64.86% -0.0874 0.1198)
OKLCHoklch(64.86% 0.148 126.1)
XYZxyz(20.3557, 28.5997, 6.4549)
Luminance0.2860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E28 #4E289E
analogous
#9E8928 #789E28 #3D9E28
triadic
#789E28 #28789E #9E2878
tetradic
#789E28 #289E89 #4E289E #9E283D
square
#789E28 #289E89 #4E289E #9E283D
split-complementary
#789E28 #283D9E #89289E
monochromatic
#2E3C0F #536D1C #789E28 #9CCC37 #B4D968

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789E28#FFFFFF#000000##000000
##789E281.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)
#A79310
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#7D9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789e28;
/* rgb */ color: rgb(120, 158, 40);
/* oklch */ color: oklch(64.9% 0.148 126.1);
Tailwind
colors: {
  custom: {
    50: '#a3ba6b',
    500: '#789e28',
    950: '#000000',
  },
}
SCSS
$custom: #789e28;
$custom-light: #a3ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#789e28",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 79.322,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64858,
    "c": 0.14827,
    "h": 126.1
  },
  "luminance": 0.286
}

Semantic roles & 50–950 ramp

primary
#789E28
secondary
#8163BF
accent
#45E378
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789E28

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

Preview Lab → · Contrast checker → · Palette generator →

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