#789F2B#789F2B

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

Color values

HEX#789F2B
RGBrgb(120, 159, 43)
HSLhsl(80, 57%, 40%)
HSVhsv(80, 73%, 62%)
CMYKcmyk(24.5%, 0%, 73%, 37.6%)
CIE-LABlab(60.75, -30.57, 53.01)
CIE-LCHlch(60.75, 61.20, 119.97°)
OKLaboklab(65.13% -0.0879 0.1186)
OKLCHoklch(65.13% 0.148 126.5)
XYZxyz(20.5800, 28.9634, 6.7913)
Luminance0.2896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F2B #522B9F
analogous
#9F8C2B #789F2B #3E9F2B
triadic
#789F2B #2B789F #9F2B78
tetradic
#789F2B #2B9F8C #522B9F #9F2B3E
square
#789F2B #2B9F8C #522B9F #9F2B3E
split-complementary
#789F2B #2B3E9F #8C2B9F
monochromatic
#2F3F11 #546F1E #789F2B #9BCA3D #B4D76D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789F2B#FFFFFF#000000##000000
##789F2B1.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)
#A79416
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#7D9788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #789f2b;
/* rgb */ color: rgb(120, 159, 43);
/* oklch */ color: oklch(65.1% 0.148 126.5);
Tailwind
colors: {
  custom: {
    50: '#a2bb6c',
    500: '#789f2b',
    950: '#000000',
  },
}
SCSS
$custom: #789f2b;
$custom-light: #a2bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#789f2b",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 80.172,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65125,
    "c": 0.14768,
    "h": 126.5
  },
  "luminance": 0.28964
}

Semantic roles & 50–950 ramp

primary
#789F2B
secondary
#8567BE
accent
#47E17B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #789F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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