#789F28#789F28

#789F28 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.1% C 0.150 H 126.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#789F28
RGBrgb(120, 159, 40)
HSLhsl(80, 60%, 39%)
HSVhsv(80, 75%, 62%)
CMYKcmyk(24.5%, 0%, 74.8%, 37.6%)
CIE-LABlab(60.73, -30.75, 54.08)
CIE-LCHlch(60.73, 62.21, 119.62°)
OKLaboklab(65.1% -0.0887 0.1204)
OKLCHoklch(65.1% 0.15 126.4)
XYZxyz(20.5270, 28.9422, 6.5120)
Luminance0.2894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F28 #4F289F
analogous
#9F8B28 #789F28 #3D9F28
triadic
#789F28 #28789F #9F2878
tetradic
#789F28 #289F8B #4F289F #9F283D
square
#789F28 #289F8B #4F289F #9F283D
split-complementary
#789F28 #283D9F #8B289F
monochromatic
#2E3D0F #536E1C #789F28 #9CCD37 #B4D968

Accessibility & contrast

On white

3.09
#789F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#789F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789F28
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789F28#FFFFFF#000000##000000
##789F281.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940F
Deuteranopia (green-blind)
#A29233
Tritanopia (blue-blind)
#7D9788
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789f28;
/* rgb */ color: rgb(120, 159, 40);
/* oklch */ color: oklch(65.1% 0.150 126.4);
Tailwind
colors: {
  custom: {
    50: '#a3bb6b',
    500: '#789f28',
    950: '#000000',
  },
}
SCSS
$custom: #789f28;
$custom-light: #a3bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#789f28",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 79.664,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65104,
    "c": 0.14953,
    "h": 126.4
  },
  "luminance": 0.28943
}

Semantic roles & 50–950 ramp

primary
#789F28
secondary
#8264BF
accent
#45E379
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #789F28

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

Preview Lab → · Contrast checker → · Palette generator →

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