#789D23#789D23

#789D23 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.6% C 0.150 H 125.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#789D23
RGBrgb(120, 157, 35)
HSLhsl(78, 64%, 38%)
HSVhsv(78, 78%, 62%)
CMYKcmyk(23.6%, 0%, 77.7%, 38.4%)
CIE-LABlab(60.09, -30.07, 55.18)
CIE-LCHlch(60.09, 62.84, 118.59°)
OKLaboklab(64.58% -0.0872 0.1219)
OKLCHoklch(64.58% 0.15 125.6)
XYZxyz(20.1062, 28.2281, 5.9791)
Luminance0.2823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D23 #48239D
analogous
#9D8523 #789D23 #3B9D23
triadic
#789D23 #23789D #9D2378
tetradic
#789D23 #239D85 #48239D #9D233B
square
#789D23 #239D85 #48239D #9D233B
split-complementary
#789D23 #233B9D #85239D
monochromatic
#2B390D #526B18 #789D23 #9ECF2E #B6DB5F

Accessibility & contrast

On white

3.16
#789D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#789D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D23
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D23#FFFFFF#000000##000000
##789D231.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69202
Deuteranopia (green-blind)
#A1902F
Tritanopia (blue-blind)
#7E9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d23;
/* rgb */ color: rgb(120, 157, 35);
/* oklch */ color: oklch(64.6% 0.150 125.6);
Tailwind
colors: {
  custom: {
    50: '#a3ba68',
    500: '#789d23',
    950: '#000000',
  },
}
SCSS
$custom: #789d23;
$custom-light: #a3ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#789d23",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 78.197,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64579,
    "c": 0.14988,
    "h": 125.6
  },
  "luminance": 0.28228
}

Semantic roles & 50–950 ramp

primary
#789D23
secondary
#7A5CC0
accent
#41E773
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789D23

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

Preview Lab → · Contrast checker → · Palette generator →

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