#789D2E#789D2E

#789D2E is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.7% C 0.143 H 126.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#789D2E
RGBrgb(120, 157, 46)
HSLhsl(80, 55%, 40%)
HSVhsv(80, 71%, 62%)
CMYKcmyk(23.6%, 0%, 70.7%, 38.4%)
CIE-LABlab(60.16, -29.43, 51.28)
CIE-LCHlch(60.16, 59.12, 119.85°)
OKLaboklab(64.66% -0.0845 0.1155)
OKLCHoklch(64.66% 0.143 126.2)
XYZxyz(20.2959, 28.3040, 6.9782)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D2E #532E9D
analogous
#9D8B2E #789D2E #409D2E
triadic
#789D2E #2E789D #9D2E78
tetradic
#789D2E #2E9D8B #532E9D #9D2E40
square
#789D2E #2E9D8B #532E9D #9D2E40
split-complementary
#789D2E #2E409D #8B2E9D
monochromatic
#303E12 #546E20 #789D2E #9BC741 #B4D570

Accessibility & contrast

On white

3.15
#789D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#789D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D2E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D2E#FFFFFF#000000##000000
##789D2E1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921C
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#7D9687
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d2e;
/* rgb */ color: rgb(120, 157, 46);
/* oklch */ color: oklch(64.7% 0.143 126.2);
Tailwind
colors: {
  custom: {
    50: '#a2ba6e',
    500: '#789d2e',
    950: '#000000',
  },
}
SCSS
$custom: #789d2e;
$custom-light: #a2ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#789d2e",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 80,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64656,
    "c": 0.14312,
    "h": 126.2
  },
  "luminance": 0.28304
}

Semantic roles & 50–950 ramp

primary
#789D2E
secondary
#866ABD
accent
#4ADE7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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