#789E23#789E23

#789E23 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.8% C 0.151 H 125.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#789E23
RGBrgb(120, 158, 35)
HSLhsl(79, 64%, 38%)
HSVhsv(79, 78%, 62%)
CMYKcmyk(24.1%, 0%, 77.8%, 38%)
CIE-LABlab(60.40, -30.55, 55.46)
CIE-LCHlch(60.40, 63.32, 118.84°)
OKLaboklab(64.83% -0.0885 0.1225)
OKLCHoklch(64.83% 0.151 125.9)
XYZxyz(20.2761, 28.5678, 6.0357)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E23 #49239E
analogous
#9E8723 #789E23 #3A9E23
triadic
#789E23 #23789E #9E2378
tetradic
#789E23 #239E87 #49239E #9E233A
square
#789E23 #239E87 #49239E #9E233A
split-complementary
#789E23 #233A9E #87239E
monochromatic
#2C3A0D #526C18 #789E23 #9ED02E #B5DC60

Accessibility & contrast

On white

3.13
#789E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#789E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E23
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E23#FFFFFF#000000##000000
##789E231.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79302
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#7D9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789e23;
/* rgb */ color: rgb(120, 158, 35);
/* oklch */ color: oklch(64.8% 0.151 125.9);
Tailwind
colors: {
  custom: {
    50: '#a3ba68',
    500: '#789e23',
    950: '#000000',
  },
}
SCSS
$custom: #789e23;
$custom-light: #a3ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#789e23",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 78.537,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64826,
    "c": 0.15112,
    "h": 125.9
  },
  "luminance": 0.28568
}

Semantic roles & 50–950 ramp

primary
#789E23
secondary
#7B5CC1
accent
#41E774
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789E23

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

Preview Lab → · Contrast checker → · Palette generator →

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