#789F18#789F18

#789F18 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.0% C 0.157 H 125.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#789F18
RGBrgb(120, 159, 24)
HSLhsl(77, 74%, 36%)
HSVhsv(77, 85%, 62%)
CMYKcmyk(24.5%, 0%, 84.9%, 37.6%)
CIE-LABlab(60.65, -31.48, 58.85)
CIE-LCHlch(60.65, 66.74, 118.15°)
OKLaboklab(65.02% -0.0918 0.1279)
OKLCHoklch(65.02% 0.157 125.7)
XYZxyz(20.3089, 28.8550, 5.3636)
Luminance0.2885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F18 #3F189F
analogous
#9F8218 #789F18 #359F18
triadic
#789F18 #18789F #9F1878
tetradic
#789F18 #189F82 #3F189F #9F1835
square
#789F18 #189F82 #3F189F #9F1835
split-complementary
#789F18 #18359F #82189F
monochromatic
#283508 #506A10 #789F18 #A0D420 #B9E44D

Accessibility & contrast

On white

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

On black

6.77
#789F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789F18
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789F18#FFFFFF#000000##000000
##789F181.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A39228
Tritanopia (blue-blind)
#7E9787
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789f18;
/* rgb */ color: rgb(120, 159, 24);
/* oklch */ color: oklch(65.0% 0.157 125.7);
Tailwind
colors: {
  custom: {
    50: '#a3bb64',
    500: '#789f18',
    950: '#000000',
  },
}
SCSS
$custom: #789f18;
$custom-light: #a3bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#789f18",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 77.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65017,
    "c": 0.1574,
    "h": 125.7
  },
  "luminance": 0.28855
}

Semantic roles & 50–950 ramp

primary
#789F18
secondary
#704DC6
accent
#37F06D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #789F18

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

Preview Lab → · Contrast checker → · Palette generator →

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