#789A24#789A24

#789A24 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#789A24
RGBrgb(120, 154, 36)
HSLhsl(77, 62%, 37%)
HSVhsv(77, 77%, 60%)
CMYKcmyk(22.1%, 0%, 76.6%, 39.6%)
CIE-LABlab(59.19, -28.59, 53.99)
CIE-LCHlch(59.19, 61.09, 117.90°)
OKLaboklab(63.85% -0.0831 0.1196)
OKLCHoklch(63.85% 0.146 124.8)
XYZxyz(19.6199, 27.2314, 5.8913)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A24 #46249A
analogous
#9A8124 #789A24 #3D9A24
triadic
#789A24 #24789A #9A2478
tetradic
#789A24 #249A81 #46249A #9A243D
square
#789A24 #249A81 #46249A #9A243D
split-complementary
#789A24 #243D9A #81249A
monochromatic
#2B370D #516818 #789A24 #9FCC30 #B6DA5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789A24#FFFFFF#000000##000000
##789A241.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)
#A39008
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#7E9284
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789a24;
/* rgb */ color: rgb(120, 154, 36);
/* oklch */ color: oklch(63.8% 0.146 124.8);
Tailwind
colors: {
  custom: {
    50: '#a2b868',
    500: '#789a24',
    950: '#000000',
  },
}
SCSS
$custom: #789a24;
$custom-light: #a2b868;
$custom-dark: #000000;
JSON
{
  "hex": "#789a24",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 36
  },
  "hsl": {
    "h": 77.288,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63847,
    "c": 0.14558,
    "h": 124.8
  },
  "luminance": 0.27232
}

Semantic roles & 50–950 ramp

primary
#789A24
secondary
#785BBF
accent
#43E571
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789A24

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

Preview Lab → · Contrast checker → · Palette generator →

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