#789E2B#789E2B

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

Color values

HEX#789E2B
RGBrgb(120, 158, 43)
HSLhsl(80, 57%, 39%)
HSVhsv(80, 73%, 62%)
CMYKcmyk(24.1%, 0%, 72.8%, 38%)
CIE-LABlab(60.45, -30.10, 52.71)
CIE-LCHlch(60.45, 60.70, 119.73°)
OKLaboklab(64.88% -0.0866 0.118)
OKLCHoklch(64.88% 0.146 126.3)
XYZxyz(20.4087, 28.6209, 6.7342)
Luminance0.2862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E2B #512B9E
analogous
#9E8B2B #789E2B #3F9E2B
triadic
#789E2B #2B789E #9E2B78
tetradic
#789E2B #2B9E8B #512B9E #9E2B3F
square
#789E2B #2B9E8B #512B9E #9E2B3F
split-complementary
#789E2B #2B3F9E #8B2B9E
monochromatic
#2F3E11 #536E1E #789E2B #9BCA3C #B4D76C

Accessibility & contrast

On white

3.12
#789E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##789E2B#FFFFFF#000000##000000
##789E2B1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69316
Deuteranopia (green-blind)
#A19135
Tritanopia (blue-blind)
#7D9688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789e2b;
/* rgb */ color: rgb(120, 158, 43);
/* oklch */ color: oklch(64.9% 0.146 126.3);
Tailwind
colors: {
  custom: {
    50: '#a2ba6c',
    500: '#789e2b',
    950: '#000000',
  },
}
SCSS
$custom: #789e2b;
$custom-light: #a2ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#789e2b",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 79.826,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64879,
    "c": 0.1464,
    "h": 126.3
  },
  "luminance": 0.28621
}

Semantic roles & 50–950 ramp

primary
#789E2B
secondary
#8467BE
accent
#47E07A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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