#789F23#789F23

#789F23 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.1% C 0.152 H 126.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#789F23
RGBrgb(120, 159, 35)
HSLhsl(79, 64%, 38%)
HSVhsv(79, 78%, 62%)
CMYKcmyk(24.5%, 0%, 78%, 37.6%)
CIE-LABlab(60.70, -31.02, 55.75)
CIE-LCHlch(60.70, 63.80, 119.09°)
OKLaboklab(65.07% -0.0898 0.1231)
OKLCHoklch(65.07% 0.152 126.1)
XYZxyz(20.4474, 28.9104, 6.0928)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F23 #4A239F
analogous
#9F8823 #789F23 #3A9F23
triadic
#789F23 #23789F #9F2378
tetradic
#789F23 #239F88 #4A239F #9F233A
square
#789F23 #239F88 #4A239F #9F233A
split-complementary
#789F23 #233A9F #88239F
monochromatic
#2C3B0D #526D18 #789F23 #9ED12E #B5DC60

Accessibility & contrast

On white

3.10
#789F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#789F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789F23
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789F23#FFFFFF#000000##000000
##789F231.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89401
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#7D9788
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789f23;
/* rgb */ color: rgb(120, 159, 35);
/* oklch */ color: oklch(65.1% 0.152 126.1);
Tailwind
colors: {
  custom: {
    50: '#a3bb68',
    500: '#789f23',
    950: '#000000',
  },
}
SCSS
$custom: #789f23;
$custom-light: #a3bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#789f23",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 78.871,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65072,
    "c": 0.15236,
    "h": 126.1
  },
  "luminance": 0.28911
}

Semantic roles & 50–950 ramp

primary
#789F23
secondary
#7C5DC1
accent
#41E775
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #789F23

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

Preview Lab → · Contrast checker → · Palette generator →

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