#789A23#789A23

#789A23 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.8% C 0.146 H 124.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#789A23
RGBrgb(120, 154, 35)
HSLhsl(77, 63%, 37%)
HSVhsv(77, 77%, 60%)
CMYKcmyk(22.1%, 0%, 77.3%, 39.6%)
CIE-LABlab(59.18, -28.64, 54.32)
CIE-LCHlch(59.18, 61.41, 117.80°)
OKLaboklab(63.84% -0.0833 0.1201)
OKLCHoklch(63.84% 0.146 124.8)
XYZxyz(19.6049, 27.2254, 5.8120)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A23 #45239A
analogous
#9A8123 #789A23 #3C9A23
triadic
#789A23 #23789A #9A2378
tetradic
#789A23 #239A81 #45239A #9A233C
square
#789A23 #239A81 #45239A #9A233C
split-complementary
#789A23 #233C9A #81239A
monochromatic
#2A360C #516818 #789A23 #9FCC2E #B6DA5D

Accessibility & contrast

On white

3.26
#789A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#789A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A23
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A23#FFFFFF#000000##000000
##789A231.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39005
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#7E9284
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789a23;
/* rgb */ color: rgb(120, 154, 35);
/* oklch */ color: oklch(63.8% 0.146 124.8);
Tailwind
colors: {
  custom: {
    50: '#a3b868',
    500: '#789a23',
    950: '#000000',
  },
}
SCSS
$custom: #789a23;
$custom-light: #a3b868;
$custom-dark: #000000;
JSON
{
  "hex": "#789a23",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 77.143,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63841,
    "c": 0.14615,
    "h": 124.8
  },
  "luminance": 0.27226
}

Semantic roles & 50–950 ramp

primary
#789A23
secondary
#775ABF
accent
#42E671
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789A23

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

Preview Lab → · Contrast checker → · Palette generator →

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